Skip to content

Commit 96a8c98

Browse files
committed
Added NoMono category to tests failing on Mono
1 parent da811f6 commit 96a8c98

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

src/GitVersionCore.Tests/ConfigProviderTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ public void NextVersionCanHavePatch()
147147
}
148148

149149
[Test]
150+
[Category("NoMono")]
151+
[Description("Won't run on Mono due to source information not being available for ShouldMatchApproved.")]
150152
[MethodImpl(MethodImplOptions.NoInlining)]
151153
public void CanWriteOutEffectiveConfiguration()
152154
{

src/GitVersionCore.Tests/Init/InitScenarios.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
public class InitScenarios
1313
{
1414
[Test]
15+
[Category("NoMono")]
16+
[Description("Won't run on Mono due to source information not being available for ShouldMatchApproved.")]
1517
public void CanSetNextVersion()
1618
{
1719
var testFileSystem = new TestFileSystem();

src/GitVersionCore.Tests/JsonVersionBuilderTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
public class JsonVersionBuilderTests
99
{
1010
[Test]
11+
[Category("NoMono")]
12+
[Description("Won't run on Mono due to source information not being available for ShouldMatchApproved.")]
1113
public void Json()
1214
{
1315
var semanticVersion = new SemanticVersion

src/GitVersionCore.Tests/VariableProviderTests.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
public class VariableProviderTests
99
{
1010
[Test]
11+
[Category("NoMono")]
12+
[Description("Won't run on Mono due to source information not being available for ShouldMatchApproved.")]
1113
public void ProvidesVariablesInContinuousDeliveryModeForPreRelease()
1214
{
1315
var semVer = new SemanticVersion
@@ -31,6 +33,8 @@ public void ProvidesVariablesInContinuousDeliveryModeForPreRelease()
3133
}
3234

3335
[Test]
36+
[Category("NoMono")]
37+
[Description("Won't run on Mono due to source information not being available for ShouldMatchApproved.")]
3438
public void ProvidesVariablesInContinuousDeliveryModeForPreReleaseWithPadding()
3539
{
3640
var semVer = new SemanticVersion
@@ -54,6 +58,8 @@ public void ProvidesVariablesInContinuousDeliveryModeForPreReleaseWithPadding()
5458
}
5559

5660
[Test]
61+
[Category("NoMono")]
62+
[Description("Won't run on Mono due to source information not being available for ShouldMatchApproved.")]
5763
public void ProvidesVariablesInContinuousDeploymentModeForPreRelease()
5864
{
5965
var semVer = new SemanticVersion
@@ -76,6 +82,8 @@ public void ProvidesVariablesInContinuousDeploymentModeForPreRelease()
7682
}
7783

7884
[Test]
85+
[Category("NoMono")]
86+
[Description("Won't run on Mono due to source information not being available for ShouldMatchApproved.")]
7987
public void ProvidesVariablesInContinuousDeliveryModeForStable()
8088
{
8189
var semVer = new SemanticVersion
@@ -97,6 +105,8 @@ public void ProvidesVariablesInContinuousDeliveryModeForStable()
97105
}
98106

99107
[Test]
108+
[Category("NoMono")]
109+
[Description("Won't run on Mono due to source information not being available for ShouldMatchApproved.")]
100110
public void ProvidesVariablesInContinuousDeploymentModeForStable()
101111
{
102112
var semVer = new SemanticVersion
@@ -118,6 +128,8 @@ public void ProvidesVariablesInContinuousDeploymentModeForStable()
118128
}
119129

120130
[Test]
131+
[Category("NoMono")]
132+
[Description("Won't run on Mono due to source information not being available for ShouldMatchApproved.")]
121133
public void ProvidesVariablesInContinuousDeploymentModeForStableWhenCurrentCommitIsTagged()
122134
{
123135
var semVer = new SemanticVersion

0 commit comments

Comments
 (0)