Created
March 20, 2020 04:10
-
-
Save TsuyoshiUshio/fc34b724aae7032f391f0a5fa59b5dc7 to your computer and use it in GitHub Desktop.
Parallel Testing
This file contains hidden or 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
| 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