Skip to content

a helpful TestCafe e2e integration starter with React, Vue, Angular, and Vanilla JS template integration examples

Notifications You must be signed in to change notification settings

existenzial/testcafe-zero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


💖 Starter


Tested with TestCafe

TestCafe is a node based e2e automated testing solution using a URL-rewriting proxy designed to free you from Selenium and Web Driver restrictions once and for all.

tests
|    |__ **.spec.js
|
testcafe.json   # Config (Optional)

General

Included

# TestCafe
yarn add --dev testcafe

# Watch Mode
yarn add --dev testcafe-live

# ESLint Config
yarn add --dev eslint-plugin-testcafe

# React Selectors
yarn add --dev testcafe-react-selectors

# Vue Selectors
yarn add --dev testcafe-vue-selectors

# Angular Selectors
yarn add --dev testcafe-angular-selectors

Get Started

# Run tests
yarn test

# Run tests in watch mode
yarn test:watch

# Run mobile tests
yarn test:device

# Remove all integrations & start fresh
yarn eject

Pros

  • Cross-browser support (even IE + physical mobile devices via QR code scan)
  • Selenium and WebDriver free
  • Little to no configuration
  • Can execute tests concurrently
  • Easy Jenkins CI integration
  • Framework-specific selectors (e.g.: React ⚛️, Vue 🇻 etc.)
  • Stellar documentation
  • Explicit use of async and await for asynchronous execution

Cons

  • Non-intuitive syntax (e.g.: "fixtures" vs. "describe")
  • no dedicated app for VQA
  • Node limitations
  • A work in progress

Contributors

Jazz Lyles
✉️

About

a helpful TestCafe e2e integration starter with React, Vue, Angular, and Vanilla JS template integration examples

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published