Skip to content
a cli tool that simplifies the launch of testcafe tests. 🧰
JavaScript TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
tests
types
.gitignore
.testcafe-cli.json
LICENSE
browserstack.err
package.json
readme.md
tsconfig.json
yarn.lock

readme.md

testcafe-cli 💎

Run testcafe tests in a beautiful cli with optinal providers.

Usage

install an NPM package:

$ yarn add -G @neoskop/testcafe-cli

and run the CLI directly:

$ testcafe-cli

Additional

create config file .testcafe-cli.json:

{
  "testsFolder": "tests",
  "provider": ["browserstack"],
  "env": [
    {
      "type": "select",
      "name": "SUITE",
      "message": "Select Suite",
      "choices": [
        { "title": "Local", "value": "local" },
        { "title": "Stage", "value": "stage" },
        { "title": "Live", "value": "live" }
      ]
    }
  ],
  "vars": {
    "BROWSERSTACK_USERNAME": "",
    "BROWSERSTACK_ACCESS_KEY": "",
    "your_env_vars": "your_env_value"
  }
}

for each env you can create one specific question which set as env variabels .

known issues

browerstack doesent work localy.

License

This project is under the terms of the Apache License, Version 2.0. A copy of this license is included with the sources.

You can’t perform that action at this time.