testcafe-cli-select
v1.3.4
Published
Testcafe interactive CLI prompts to select and run specs or tests
Readme
Installation
Install the following package:
npm install -D testcafe-cli-select
# within your TestCafe repository as dev dependencyHow to run
Run the following command in your TestCafe repository:
npx testcafe-cli-select runCommand line arguments
You can also include more CLI arguments in which you can specify specific browser, otherwise Chrome Browser will be implicitly used
npx testcafe-cli-select run --browser firefoxOfficial TestCafe documentation with the list of all the supported browsers HERE.
Setting up a npm script
For convenience, you may want to store the npx command within an npm script in your project's package.json, including any desired CLI arguments:
"scripts": {
"tc:select": "npx testcafe-cli-select run --browser=firefox"
}Contributions
Feel free to open a pull request or drop any feature request or bug in the issues.
Please see more details in the contributing doc.
