Challenge for unit, API and UI testing in JavaScript
- npm & node.js install instructions
- Test Cafe
npm install -g testcafe
- Chrome
- Clone this repo
- Run
npm install
- In
/node_modules/figaro/figaro.json
, delete the default object and replace it with:{ "ROOT": "<YOUR URL>" }
npm test
runs just API & unit testsnpm run test_ui
runs just UI testsnpm run test_all
runs API, UI and unit tests