Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.68 KB

readme.md

File metadata and controls

42 lines (29 loc) · 1.68 KB

Broyster 🕶️🦪

(browser + oyster)

Build status Current NPM version

Broyster gives you the ability to run your Karma tests in Browserstack using Selenium WebDriver as the means to execute the tests, as opposed to the regular tunnel for JS testing, giving you more flexibility in creating your test setup. It also comes with a Jasmine retry mechanism to help you combat flaky tests so that you can rely on your tests more.

Project structure:

Quick start

Make sure you have Node.js 16 or newer and Yarn installed.

yarn install
yarn --cwd node build:watch

Open a new terminal tab and run:

# Run example tests in local browsers
yarn --cwd example_project test:local

# Or run example tests on BrowserStack
# For Linux, macOS and WSL (Linux on Windows)
BROWSERSTACK_USERNAME=your-username BROWSERSTACK_ACCESS_KEY=your-key yarn --cwd example_project test:browserstack

Contributing

See the Contribution guidelines to learn how to contribute to the project or run the project locally. Please read it carefully before making a pull request.