Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TsuyoshiUshio/fc34b724aae7032f391f0a5fa59b5dc7 to your computer and use it in GitHub Desktop.
Save TsuyoshiUshio/fc34b724aae7032f391f0a5fa59b5dc7 to your computer and use it in GitHub Desktop.
Parallel Testing
public class ParallelTest01
{
[Fact]
public async Task Test1()
{
await Task.Delay(TimeSpan.FromSeconds(5));
Assert.True(true);
}
[Fact]
public async Task Test2()
{
await Task.Delay(TimeSpan.FromSeconds(5));
Assert.True(true);
}
}
public class ParallelTest02
{
[Fact]
public async Task Test3()
{
await Task.Delay(TimeSpan.FromSeconds(5));
Assert.True(true);
}
[Fact]
public async Task Test4()
{
await Task.Delay(TimeSpan.FromSeconds(5));
Assert.True(true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment