Javascript configuration of tests always hard. This project provides to test javascript codes on Electron Browser by --rendered parameters. You can tests on existing adapter like Mocha or you can write new adapter to test with other libraries.
- Test on Node
- Test on Browser just once
- Test on Browser as interactive
- NodeJS Test on Mocha Adapter
node ./node_modules/tdd-suite/bin/tdd-suite --opts mocha.opts --root-list src
- Before Start Project
$ git clone https://github.com/wasabi-io/tdd-suite.git`
$ cd tdd-suite
$ npm install
- run test
$ npm test
- run coverage
$ npm run coverage
- export docs
$ npm run docs
- build code as javascript (common-js)
$ npm build