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)
- Info - TestCafe
- Repo - Github repository
- Plugins
- TestCafe Live (add - watch mode)
- React
- Vue
- ESLint
- Accessibility
- VSCode
- and many more...
# 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
# 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
- 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
andawait
for asynchronous execution
- Non-intuitive syntax (e.g.: "fixtures" vs. "describe")
- no dedicated app for VQA
- Node limitations
- A work in progress