-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
792 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<ItemGroup> | ||
<!-- xunit --> | ||
<PackageReference Update="xunit" Version="2.4.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.analyzers" Version="0.10.0" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.categories" Version="2.0.5" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.extensibility.core" Version="2.4.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.runner.console" Version="2.4.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.runner.reporters" Version="2.4.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.3" IsImplicitlyDefined="true"/> | ||
<ItemGroup> | ||
<PackageReference Update="Nullable" Version="1.3.0" IsImplicitlyDefined="true" /> | ||
<PackageReference Update="Newtonsoft.Json" Version="13.0.1" IsImplicitlyDefined="true" /> | ||
|
||
<!--Unittesting--> | ||
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.0.0" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="FluentAssertions" Version="6.2.0" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="FluentAssertions.Analyzers" Version="0.12.1" IsImplicitlyDefined="true"/> | ||
</ItemGroup> | ||
<!-- xunit --> | ||
<PackageReference Update="xunit" Version="2.4.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.analyzers" Version="0.10.0" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.categories" Version="2.0.5" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.extensibility.core" Version="2.4.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.runner.console" Version="2.4.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.runner.reporters" Version="2.4.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.3" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.assert" Version="2.4.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.abstractions" Version="2.0.3" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="xunit.extensibility.execution" Version="2.4.1" IsImplicitlyDefined="true"/> | ||
|
||
<PackageReference Update="NUnit" Version="3.13.2" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="NUnit3TestAdapter" Version="4.0.0" IsImplicitlyDefined="true"/> | ||
|
||
<!--Unittesting--> | ||
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.0.0" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="FluentAssertions" Version="6.2.0" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="FluentAssertions.Analyzers" Version="0.12.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="Verify.Xunit" Version="14.0.1" IsImplicitlyDefined="true"/> | ||
<PackageReference Update="Verify.NUnit" Version="14.0.1" IsImplicitlyDefined="true"/> | ||
</ItemGroup> | ||
</Project> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
namespace EasyTestFile.Internals; | ||
|
||
/// <summary> | ||
/// Mode how testfiles are handled during compilation. | ||
/// </summary> | ||
internal enum EasyTestFileMode | ||
{ | ||
/// <summary> | ||
/// Testfiles are embedded as resource. The project dll will contain the files and will be bigger. This mode is the `safest` because testfiles cannot be altered or deleted. | ||
/// </summary> | ||
Embed, | ||
|
||
/// <summary> | ||
/// Testfiles are always copied to the output directory. | ||
/// </summary> | ||
CopyAlways, | ||
|
||
/// <summary> | ||
/// Testfiles are only copied to the output directory when they are newer. | ||
/// </summary> | ||
CopyPreserveNewest, | ||
|
||
/// <summary> | ||
/// Testfiles are never copied nor are they embedded as resource. This mode speeds up compilation. | ||
/// </summary> | ||
None, | ||
} |
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
using System.Runtime.CompilerServices; | ||
|
||
[assembly:InternalsVisibleTo("EasyTestFile.Xunit")] | ||
[assembly:InternalsVisibleTo("EasyTestFile.Xunit.CopyAlways.Tests")] | ||
[assembly:InternalsVisibleTo("EasyTestFile.Xunit.CopyPreserveNewest.Tests")] | ||
[assembly:InternalsVisibleTo("EasyTestFile.Xunit.Embed.Tests")] | ||
[assembly:InternalsVisibleTo("EasyTestFile.Xunit.ModeNone.Tests")] | ||
[assembly:InternalsVisibleTo("EasyTestFile.Nunit")] | ||
[assembly: InternalsVisibleTo("EasyTestFile.Tests")] |
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
Oops, something went wrong.