Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 942 Bytes

README.md

File metadata and controls

57 lines (38 loc) · 942 Bytes

tdd-suite

Motivation

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 Modes ,

- Test on Node 
- Test on Browser just once 
- Test on Browser as interactive

Add Custom Adapters.

Mocha Test

  • NodeJS Test on Mocha Adapter
    node ./node_modules/tdd-suite/bin/tdd-suite --opts mocha.opts --root-list src

Contribute

  • 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