File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Tests
3+
4+ on : push
5+
6+ jobs :
7+ tests :
8+ name : Unit Testing
9+ runs-on : windows-latest
10+ steps :
11+ 12+ - run : dotnet test
13+
Original file line number Diff line number Diff line change 1+ ## TestingBot - NUnit
2+
3+ TestingBot provides an online grid of browsers and mobile devices to run Automated tests on via Selenium WebDriver.
4+ This example demonstrates how to use NUnit to run a test in parallel across several browsers.
5+
6+ ### Environment Setup
7+
8+ 1 . Global Dependencies
9+ * MS Visual Studio 2022 or later.
10+ * Install the NUnit and NUnit3TestAdapter packages through NuGet
11+
12+ 2 . TestingBot Credentials
13+ * Add your TestingBot Key and Secret as environmental variables. You can find these in the [ TestingBot Dashboard] ( https://testingbot.com/members/ ) .
14+ ```
15+ $ export TESTINGBOT_KEY=<your TestingBot Key>
16+ $ export TESTINGBOT_SECRET=<your TestingBot Secret>
17+ ```
18+
19+ 3. Setup
20+ * Clone the repo
21+ * Open the solution `NUnit-TestingBot-Sample.sln` in Visual Studio 2022 or higher
22+ * Build the solution
23+
24+ ### Running your tests from Test Explorer via NUnit Test Adapter
25+ Click Run Unit Tests, you will see the test result in the [TestingBot Dashboard](https://testingbot.com/members/)
26+
27+ ### Resources
28+ ##### [TestingBot Documentation](https://testingbot.com/support/)
29+
30+ ##### [SeleniumHQ Documentation](http://www.seleniumhq.org/docs/)
31+
32+ ##### [NUnit Documentation](https://nunit.org/)
33+
You can’t perform that action at this time.
0 commit comments