Xunit.Repeat
1.0.0
See the version list below for details.
dotnet add package Xunit.Repeat --version 1.0.0
NuGet\Install-Package Xunit.Repeat -Version 1.0.0
<PackageReference Include="Xunit.Repeat" Version="1.0.0" />
paket add Xunit.Repeat --version 1.0.0
#r "nuget: Xunit.Repeat, 1.0.0"
// Install Xunit.Repeat as a Cake Addin
#addin nuget:?package=Xunit.Repeat&version=1.0.0
// Install Xunit.Repeat as a Cake Tool
#tool nuget:?package=Xunit.Repeat&version=1.0.0
Xunit.Repeat
Repeat attribute for xUnit.net
Why? Because once upon a time I had the need to do use such an attribute but xUnit did not have it. After a quick search I found that others had stumbled upon the same need without success, so I provided some code to help them out but thoght to myself this could be probably be useful if we had it as package.
Feel free to provide feedback, additional requests or PRs for future improvement.
Usage
[Theory()]
[Repeat(10)]
public void Test(int iterationNumber)
{
...
}
Iteration number should be added in order to run the test.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
- xunit (>= 2.4.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release