Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psi-4ward/testcafe-browser-provider-hub
This plugin integrates TestCafe with the TestCafe-Hub
https://github.com/psi-4ward/testcafe-browser-provider-hub
Last synced: 22 days ago
JSON representation
This plugin integrates TestCafe with the TestCafe-Hub
- Host: GitHub
- URL: https://github.com/psi-4ward/testcafe-browser-provider-hub
- Owner: psi-4ward
- License: mit
- Created: 2018-05-20T15:19:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-20T15:20:00.000Z (over 6 years ago)
- Last Synced: 2024-12-09T08:47:03.966Z (25 days ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# testcafe-browser-provider-hub
***This is a proof of concept!***
This plugin integrates [TestCafe](http://devexpress.github.io/testcafe) with [TestCafe-Hub](https://github.com/psi-4ward/testcafe-hub).
## Install
Install from github, it's not published to npm yet.
```
npm install psi-4ward/testcafe-browser-provider-hub
```## Usage
Before using this plugin, save the TestCafe Hub URL to the environment variable `TESTCAFE_HUB`, the default value is `http://localhost:8080`.
testcafe-browser-provider-hub respects `.env` files.```bash
# List available browser
testcafe -b hub# Run tests
testcafe "hub:Chrome@66:Linux"
```Tipp: Only the browser name is mandatory, you can omit the browser-version, os and os-version:
* `hub:Chrome` would run the test on a node with Chrome
* `hub:Chrome@66` would run the test on a node with Chrome with major version 66
* `hub:Chrome:Windows` would run the on a window node with Chrome## Authors
* [Christoph Wiechert](https://psi.cx)
## License & copyright
* [testcafe-browser-provider-hub](https://github.com/psi-4ward/testcafe-browser-provider-hub/blob/master/LICENSE): MIT