Skip to content

Commit 7091f25

Browse files
committed
readme
1 parent 950658a commit 7091f25

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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+
- uses: actions/[email protected]
12+
- run: dotnet test
13+

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+

0 commit comments

Comments
 (0)