This repository contains sample tests to run on the BrowserStack Infrastructure using Specflow+.
-
Install the following necessary packages using command line (refer below for performing local testing):
dotnet restore
-
Export the environment variables for the Username and Access Key of your BrowserStack account
set BROWSERSTACK_USERNAME=<browserstack-username> && set BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
To run tests on a website run anyone of the following commands:
# C# and dotnet will automatically detect all your tests and trigger them in Parallel
dotnet testOR
Use Visual Studio Test Explorer and manually select test file and test case you want to run