Skip to content

Commit 7a7abd8

Browse files
committed
Latest dependencies
1 parent 8b17b7d commit 7a7abd8

File tree

5 files changed

+5
-15
lines changed

5 files changed

+5
-15
lines changed

Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<NSubstitute_Version>5.3.0</NSubstitute_Version>
1212
<TunnelVisionLabs_ReferenceAssemblyAnnotator_Version>1.0.0-alpha.160</TunnelVisionLabs_ReferenceAssemblyAnnotator_Version>
1313
<xunit_analyzers_Version>1.23.0</xunit_analyzers_Version>
14-
<xunit_v3_Version>3.0.0</xunit_v3_Version>
14+
<xunit_v3_Version>3.0.1-pre.5</xunit_v3_Version>
1515
<xunit_Version>2.9.3</xunit_Version>
1616
</PropertyGroup>
1717

test/test.v1/Tests.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
using Xunit;
2-
using Xunit.Extensions;
32

43
public class Tests
54
{
65
[Fact]
76
public void Passing() { }
87

9-
// We did not support pre-enumerated theories in v1, so this will show up in Test Explorer
10-
// as a single test with multiple results.
11-
[Theory]
12-
[InlineData(1)]
13-
[InlineData(2)]
14-
public void ConditionallyFailing(int value) => Assert.Equal(0, value % 2);
15-
16-
178
[Fact(Skip = "Unconditionally skipped")]
189
public void Skipped() => Assert.True(false, "This does not run");
1910
}

test/test.v2/Tests.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ public class Tests
55
[Fact]
66
public void Passing() { }
77

8-
[Theory]
9-
[InlineData(1)]
10-
[InlineData(2)]
11-
public void ConditionallyFailing(int value) => Assert.Equal(0, value % 2);
12-
138
[Fact(Skip = "Unconditionally skipped")]
149
public void Skipped() => Assert.Fail("This does not run");
1510
}

tools/builder/targets/TestCore.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ public static async Task OnExecute(BuildContext context)
1818
File.Delete(Path.Combine(context.TestOutputFolder, "test.xunit.runner.visualstudio-netcore.trx"));
1919

2020
await context.Exec("dotnet", $"test test/test.xunit.runner.visualstudio -tl:off --configuration {context.Configuration} --no-build --framework net8.0 --logger trx;LogFileName=test.xunit.runner.visualstudio-netcore.trx --results-directory \"{context.TestOutputFolder}\" --verbosity {context.Verbosity}");
21+
await context.Exec("dotnet", $"test test/test.v2 -tl:off --configuration {context.Configuration} --no-build --framework net472 --verbosity {context.Verbosity}");
22+
await context.Exec("dotnet", $"test test/test.v1 -tl:off --configuration {context.Configuration} --no-build --framework net472 --verbosity {context.Verbosity}");
2123
}
2224
}

tools/builder/targets/TestFx.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ public static async Task OnExecute(BuildContext context)
1818
File.Delete(Path.Combine(context.TestOutputFolder, "test.xunit.runner.visualstudio-netfx.trx"));
1919

2020
await context.Exec("dotnet", $"test test/test.xunit.runner.visualstudio -tl:off --configuration {context.Configuration} --no-build --framework net472 --logger trx;LogFileName=test.xunit.runner.visualstudio-netfx.trx --results-directory \"{context.TestOutputFolder}\" --verbosity {context.Verbosity}");
21+
await context.Exec("dotnet", $"test test/test.v2 -tl:off --configuration {context.Configuration} --no-build --framework net472 --verbosity {context.Verbosity}");
22+
await context.Exec("dotnet", $"test test/test.v1 -tl:off --configuration {context.Configuration} --no-build --framework net472 --verbosity {context.Verbosity}");
2123
}
2224
}

0 commit comments

Comments
 (0)