Skip to content

browserstack/pnunit-browserstack

Repository files navigation

pnunit-browserstack

PNUnit Integration with BrowserStack.

BrowserStack Logo

Setup

  • Download and install NUnit 2.6.4
  • Run PNUnit agent start pnunit-agent.exe agent.conf
  • Clone the repo
  • Open the solution PNUnit-BrowserStack.sln in Visual Studio
  • Build the solution
  • Update *.config.xml files inside the config directory with your BrowserStack Username and Access Key(https://www.browserstack.com/accounts/settings)

Running your tests

  • To run a single test, run pnunit-launcher.exe config\single.config.xml
  • To run local tests, run pnunit-launcher.exe config\local.config.xml
  • To run parallel tests, run pnunit-launcher.exe config\parallel.config.xml

Understand how many parallel sessions you need by using our Parallel Test Calculator

Notes

  • You can view your test results on the BrowserStack automate dashboard

  • To test on a different set of browsers, check out our platform configurator

  • You can export the environment variables for the Username and Access Key of your BrowserStack account

    export BROWSERSTACK_USERNAME=<browserstack-username> &&
    export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
    

Additional Resources

About

Selenium examples for PNUnit and BrowserStack Automate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages