Skip to content

Instantly share code, notes, and snippets.

View JakeGinnivan's full-sized avatar
:shipit:

Jake Ginnivan JakeGinnivan

:shipit:
View GitHub Profile
msbuild "TestStack.ConventionTests.Tests\TestStack.ConventionTests.Tests.xproj"
cp tools\xunit.abstractions.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.abstractions.dll artifacts\bin\TestStack.ConventionTests.Tests\Debug\dotnet
cp tools\xunit.core.2.1.0\build\_desktop\xunit.execution.desktop.dll artifacts\bin\TestStack.ConventionTests.Tests\Debug\dotnet
cp tools\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll artifacts\bin\TestStack.ConventionTests.Tests\Debug\dotnet
. "tools\xunit.runner.console.2.1.0\tools\xunit.console.exe" artifacts\bin\TestStack.ConventionTests.Tests\Debug\dotnet\TestStack.ConventionTests.Tests.dll
@JakeGinnivan
JakeGinnivan / Bridge.cs
Created September 12, 2015 13:41
XUnit to LibLog Bridge
// Simple bridge to allow capturing of LibLog log messages in xUnit 2.0 tests
// Usage:
private readonly ITestOutputHelper _outputHelper;
public Example(ITestOutputHelper outputHelper) { _outputHelper = outputHelper; }
[Test]
public void Test()
{
using (LogHelper.Capture(_outputHelper, LogProvider.SetCurrentLogProvider))
{
// Call library code, log messages will be captured
@startuml
participant master
participant develop
master -> master: tag 1.2.0
master -> develop: branch from master
develop -> develop: commit
note over develop #D3D3D3: 1.3.0-unstable.1
create participant "feature/myfeature" as feature
develop -> feature: branch from develop
activate feature
@startuml
participant develop
participant master
master -> master: tag 1.3.0
master -> develop: branch from master
note over develop, master
Create 2.0.0 release and complete
end note
master -> master: tag 2.0.0
create participant "support/1.x" as support
@startuml
participant develop
participant master
master -> master: tag 1.3.0
master -> develop: branch from master
note over develop, master
Create 2.0.0 release and complete
end note
master -> master: tag 2.0.0
create participant "support/1.x" as support
@startuml
participant master
participant develop
master -> master: tag 1.3.0
master -> develop: branch from master
develop -> develop: commit
create participant "release/2.0.0" as release
develop -> release: branch from develop
activate release
note over release #D3D3D3: 2.0.0-beta.1+0
@startuml
participant master
participant develop
master -> master: tag 1.2.1
master -> develop: branch from master
develop -> develop: commit
create participant "release/1.3.0" as release
develop -> release: branch from develop
activate release
note over release #D3D3D3: 1.3.0-beta.1+0
@startuml
participant develop
participant master
master -> master: tag 1.2.0
create participant "hotfix/1.2.1" as hotfix
master -> hotfix: branch from master
activate hotfix
hotfix -> hotfix: commit
hotfix -> hotfix: commit
note over hotfix #D3D3D3: 1.2.1-beta.1+2
@startuml
participant master
participant develop
master -> master: tag 1.2.0
master -> develop: branch from master
develop -> develop: commit
note over develop #D3D3D3: 1.3.0-unstable.1
create participant "pull/2/merge" as pr
develop -> pr: branch from develop
activate pr
@JakeGinnivan
JakeGinnivan / gitflow-overview.puml
Last active July 2, 2024 13:51
Overview of GitFlow and versions generated by GitVersion
@startuml
participant "pull/2/merge" as feature
participant develop
participant "release/2.0.0" as majorRelease
participant "release/1.3.0" as minorRelease
participant master
activate develop
activate master
master -> master: commit
master -> master: tag 1.2.0