Skip to content

Commit 0c07dd8

Browse files
author
Christof Senn
committed
migrate test to xunit v3 and microsoft testing platform
1 parent bfad432 commit 0c07dd8

48 files changed

Lines changed: 2882 additions & 1043 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/publish.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ jobs:
6363
run: dotnet build Remote.Linq.slnx --no-restore -c Release /bl:build.binlog
6464

6565
- name: Test
66-
#env:
67-
# VSTEST_CONNECTION_TIMEOUT: 1200 # timeout 20 minutes
6866
run: dotnet test Remote.Linq.slnx --no-build -c Release
6967

7068
- name: Upload build log

‎.runsettings‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
<RunConfiguration>
55
<MaxCpuCount>0</MaxCpuCount>
66
</RunConfiguration>
7-
</RunSettings>
7+
</RunSettings>

‎Directory.Build.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@
8787
</PackageReference>
8888
</ItemGroup>
8989

90-
</Project>
90+
</Project>

‎Directory.Build.targets‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
<Error Condition=" '$(BuildVersion)' == '' " Text="Build version must not be emty" />
1414
<Error Condition=" '$(BuildVersion)' != '$(VersionPrefix)' " Text="Build version '$(BuildVersion)' does not match project version '$(VersionPrefix)'" />
1515
</Target>
16-
</Project>
16+
</Project>

‎Directory.Packages.props‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,10 @@
4747
test projects specific
4848
-->
4949
<ItemGroup Label="Tests">
50-
<PackageVersion Include="coverlet.collector" Version="10.0.1" />
51-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.9.0" />
50+
<PackageVersion Include="coverlet.MTP" Version="10.0.1" />
5251
<PackageVersion Include="Moq" Version="4.20.72" />
5352
<PackageVersion Include="Shouldly" Version="4.3.0" />
54-
<PackageVersion Include="xunit" Version="2.9.3" />
55-
<PackageVersion Include="xunit.runner.visualstudio" Version="4.0.0" />
56-
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.85" />
53+
<PackageVersion Include="xunit.v3.mtp-v2" Version="4.0.0" />
5754
</ItemGroup>
5855
<!--
5956
samples projects specific

‎Style.NoDoc.ruleset‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<RuleSet Name="Remote.Linq.NoDoc" Description=" " ToolsVersion="16.0">
33
<Include Path="Style.ruleset" Action="Default" />
44
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
@@ -12,4 +12,4 @@
1212
<Rule Id="SA1615" Action="Info" />
1313
<Rule Id="SA1618" Action="Info" />
1414
</Rules>
15-
</RuleSet>
15+
</RuleSet>

‎Style.Tests.ruleset‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<RuleSet Name="Remote.Linq.Tests" Description=" " ToolsVersion="16.0">
33
<Include Path="Style.NoDoc.ruleset" Action="Default" />
44
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
@@ -58,4 +58,4 @@
5858
<Rule Id="SA1615" Action="None" />
5959
<Rule Id="SA1618" Action="None" />
6060
</Rules>
61-
</RuleSet>
61+
</RuleSet>

‎Style.ruleset‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<RuleSet Name="Remote.Linq" Description=" " ToolsVersion="16.0">
33
<Include Path="MinimumRecommendedRules.ruleset" Action="Default" />
44
<Rules AnalyzerId="Microsoft.CodeQuality.Analyzers" RuleNamespace="Microsoft.CodeQuality.Analyzers">
@@ -33,4 +33,4 @@
3333
<Rule Id="SA1312" Action="Info" />
3434
<Rule Id="SX1101" Action="Warning" />
3535
</Rules>
36-
</RuleSet>
36+
</RuleSet>

‎global.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
"version": "10.0.100",
44
"rollForward": "latestFeature"
55
}
6-
}
6+
}

‎nuget.config‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageRestore>
44
<add key="enabled" value="true" />
@@ -16,4 +16,4 @@
1616
<package pattern="*" />
1717
</packageSource>
1818
</packageSourceMapping>
19-
</configuration>
19+
</configuration>

0 commit comments

Comments
 (0)