https://github.com/fingerprintjs/broyster
Testing tools involving: Karma launcher for Selenium WebDriver on BrowserStack, reporter for these tests, Jasmine retry mechanism.
https://github.com/fingerprintjs/broyster
Last synced: 8 months ago
JSON representation
Testing tools involving: Karma launcher for Selenium WebDriver on BrowserStack, reporter for these tests, Jasmine retry mechanism.
- Host: GitHub
- URL: https://github.com/fingerprintjs/broyster
- Owner: fingerprintjs
- License: mit
- Created: 2022-12-08T19:17:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-03T17:12:06.000Z (11 months ago)
- Last Synced: 2025-05-01T01:41:10.701Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 501 KB
- Stars: 8
- Watchers: 10
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- Contributing: contributing.md
- License: LICENSE
- Code of conduct: code_of_conduct.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Broyster 🕶️🦪
(browser + oyster)
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:
- [node](node) — test tools for Node.js projects.
Published as an [@fpjs-incubator/broyster](https://npmjs.com/package/@fpjs-incubator/broyster) Node package.
- [example_project](example_project) — an example project that uses the testing tools.
## Quick start
Make sure you have Node.js 16 or newer and Yarn installed.
```bash
yarn install
yarn --cwd node build:watch
```
Open a new terminal tab and run:
```bash
# 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](contributing.md) to learn how to contribute to the project or run the project locally.
Please read it carefully before making a pull request.