Skip to content

dipudan/testcafe-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeship Status for qualityshepherd/testcafe-example.

Testcafe Example

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

  • use a page object pattern (now with 100% less class)
  • 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 [email protected]: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

About

An example Testcafe project, chock full of e2e and api testy goodness

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%