We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work - either Theory or Fact, does not matter. Using latests xUnit.
Could you add an example, so I could test this on a premade project, to be sure it's my fault somehow?
The text was updated successfully, but these errors were encountered:
.csproj:
<PackageReference Include="Meziantou.Xunit.ParallelTestFramework" Version="2.3.0" />
Tests.cs:
using Meziantou.Xunit; public class ImmutableClass { } [CollectionDefinition(nameof(SomeCollection))] [EnableParallelization] public class SomeCollection : ICollectionFixture<ImmutableClass> { } [Collection(nameof(SomeCollection))] [EnableParallelization] public class TestClass1 { [Fact] public async Task Test1() => await Task.Delay(3000); [Fact] public async Task Test2() => await Task.Delay(3000); } [Collection(nameof(SomeCollection))] [EnableParallelization] public class TestClass2 { [Fact] public async Task Test3() => await Task.Delay(3000); [Fact] public async Task Test4() => await Task.Delay(3000); }
This sample finishes in 3 seconds.
Sorry, something went wrong.
No branches or pull requests
Does not work - either Theory or Fact, does not matter. Using latests xUnit.
Could you add an example, so I could test this on a premade project, to be sure it's my fault somehow?
The text was updated successfully, but these errors were encountered: