Skip to content
An example Testcafe project, chock full of e2e and api testy goodness
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.
lib words Jun 15, 2019
pages
tests different words Jun 24, 2019
.gitignore
.npmrc lock file shmock file Jun 14, 2019
LICENSE Create LICENSE Jun 22, 2019
README.md and even more words... Jun 24, 2019
package.json setup browserstack Jun 24, 2019

README.md

Codeship Status for qualityshepherd/testcafe-example. BrowserStack Status

Testcafe Example

Example e2e tests (some of which are slightly silly) written in Testcafe, that:

  • use a page object pattern
  • are written in Javascript es6
  • use async/await
  • run in parallel
  • run on multiple browsers
  • run headlessly
  • run api tests
  • run tests on BrowserStack

Setup

  1. clone clone git@github.com:qualityshepherd/testcafe-example.git
  2. install npm i

Run

  • run npm test to watch in browser, or
  • npm run all to run parallel, headless, on Chrome and Firefox or
  • npm run browserstack to run tests in the cloud (requires an account and env keys to be set)
  • npm run to see more options

Test Run Gif


Browserstack Logo

You can’t perform that action at this time.