File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -7,31 +7,24 @@ This example demonstrates how to use NUnit to run a test in parallel across seve
77
88### Environment Setup
99
10- 1 . Global Dependencies
11- * MS Visual Studio 2022 or later.
12- * Install the NUnit and NUnit3TestAdapter packages through NuGet
13-
14- 2 . TestingBot Credentials
10+ 1 . TestingBot Credentials
1511 * Add your TestingBot Key and Secret as environmental variables. You can find these in the [ TestingBot Dashboard] ( https://testingbot.com/members/ ) .
1612 ```
1713 $ export TESTINGBOT_KEY=<your TestingBot Key>
1814 $ export TESTINGBOT_SECRET=<your TestingBot Secret>
1915 ```
2016
21- 3 . Setup
17+ 2 . Setup
2218 * Clone the repo
23- * Open the solution `NUnit-TestingBot-Sample.sln` in Visual Studio 2022 or higher
24- * Build the solution
19+
20+ 3. Run tests
21+ * Single test: `dotnet test --filter "Single"`
22+ * Paralle tests: `dotnet test --filter "Parallel"` (run 2 tests simultaneously)
23+ * DevTools test: `dotnet test --filter "DevTools"`
2524
2625### Running your tests from Test Explorer via NUnit Test Adapter
2726Click Run Unit Tests, you will see the test result in the [TestingBot Dashboard](https://testingbot.com/members/)
2827
29- ### Parallel testing
30- There's an example on how to perform parallel testing. This will run two or more tests simultaneously, shortening the total test duration.
31- To run the Parallel test, please use this command:
32- ```
33- dotnet test --filter "Parallel"
34- ```
3528
3629### Resources
3730##### [TestingBot Documentation](https://testingbot.com/support/)
You can’t perform that action at this time.
0 commit comments