-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow the processing of multiple trx files
- Loading branch information
1 parent
59f1243
commit 3d82209
Showing
14 changed files
with
327 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...n.IntegrationTests/Fixtures/NUnitMultipleFailingProjects/NUnitMultipleFailingProjects.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUnitTestPassOnSecondRunFirstExample", "NUnitTestPassOnSecondRunFirstExample\NUnitTestPassOnSecondRunFirstExample.csproj", "{05625348-7376-4E0C-98EE-AEC93C1EA85B}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUnitTestPassOnThirdRunSecondExample", "NUnitTestPassOnThirdRunSecondExample\NUnitTestPassOnThirdRunSecondExample.csproj", "{F65E419F-ED1C-49F1-A32F-CBD95FFCB0B8}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{05625348-7376-4E0C-98EE-AEC93C1EA85B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{05625348-7376-4E0C-98EE-AEC93C1EA85B}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{05625348-7376-4E0C-98EE-AEC93C1EA85B}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{05625348-7376-4E0C-98EE-AEC93C1EA85B}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{F65E419F-ED1C-49F1-A32F-CBD95FFCB0B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{F65E419F-ED1C-49F1-A32F-CBD95FFCB0B8}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{F65E419F-ED1C-49F1-A32F-CBD95FFCB0B8}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{F65E419F-ED1C-49F1-A32F-CBD95FFCB0B8}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
19 changes: 19 additions & 0 deletions
19
...Projects/NUnitTestPassOnSecondRunFirstExample/NUnitTestPassOnSecondRunFirstExample.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
|
||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" /> | ||
<PackageReference Include="NUnit" Version="3.13.3" /> | ||
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" /> | ||
<PackageReference Include="NUnit.Analyzers" Version="3.3.0" /> | ||
<PackageReference Include="coverlet.collector" Version="3.1.2" /> | ||
</ItemGroup> | ||
|
||
</Project> |
20 changes: 20 additions & 0 deletions
20
.../Fixtures/NUnitMultipleFailingProjects/NUnitTestPassOnSecondRunFirstExample/SimpleTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace NUnitTestPassOnSecondRunFirstExample; | ||
|
||
|
||
public class Tests | ||
{ | ||
private int number = 2; | ||
|
||
[Test, Order(1)] | ||
public void NUnitTestPassOnSecondRunFirstExample_FirstNumberCompare() | ||
{ | ||
number = 3; | ||
Assert.AreEqual(3, number); | ||
} | ||
|
||
[Test, Order(2)] | ||
public void NUnitTestPassOnSecondRunFirstExample_SecondNumberCompare() | ||
{ | ||
Assert.AreEqual(2, number); | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...ests/Fixtures/NUnitMultipleFailingProjects/NUnitTestPassOnSecondRunFirstExample/Usings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
global using NUnit.Framework; |
21 changes: 21 additions & 0 deletions
21
...Projects/NUnitTestPassOnThirdRunSecondExample/NUnitTestPassOnThirdRunSecondExample.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
|
||
<IsPackable>false</IsPackable> | ||
|
||
<RootNamespace>NUnitTestPassOnSecondRunSecondExample</RootNamespace> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" /> | ||
<PackageReference Include="NUnit" Version="3.13.3" /> | ||
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" /> | ||
<PackageReference Include="NUnit.Analyzers" Version="3.3.0" /> | ||
<PackageReference Include="coverlet.collector" Version="3.1.2" /> | ||
</ItemGroup> | ||
|
||
</Project> |
29 changes: 29 additions & 0 deletions
29
.../Fixtures/NUnitMultipleFailingProjects/NUnitTestPassOnThirdRunSecondExample/SimpleTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
namespace NUnitTestPassOnSecondRunSecondExample; | ||
|
||
|
||
public class Tests | ||
{ | ||
private int firstNumber = 2; | ||
private int secondNumber = 2; | ||
|
||
[Test, Order(1)] | ||
public void NUnitTestPassOnThirdRunSecondExample_FirstNumberCompare() | ||
{ | ||
firstNumber = 3; | ||
Assert.AreEqual(3, firstNumber); | ||
} | ||
|
||
[Test, Order(2)] | ||
public void NUnitTestPassOnThirdRunSecondExample_SecondSimpleNumberCompare() | ||
{ | ||
secondNumber = 4; | ||
Assert.AreEqual(2, firstNumber); | ||
Assert.AreEqual(4, secondNumber); | ||
} | ||
|
||
[Test, Order(3)] | ||
public void NUnitTestPassOnThirdRunSecondExample_ThirdSimpleNumberCompare() | ||
{ | ||
Assert.AreEqual(2, secondNumber); | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...ests/Fixtures/NUnitMultipleFailingProjects/NUnitTestPassOnThirdRunSecondExample/Usings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
global using NUnit.Framework; |
Oops, something went wrong.