Awesome
power-assert-karma-seed
Example project of power-assert + Karma + browserify.
Testing for Browser with power-assert.
Installation
npm install
npm install -g karma-cli
Usage
Browser Testing
npm test
# or
karma start # and capture browser
Node.js Testing
mocha --require intelli-espower-loader
Integrate WebStorm
Run Debug mode(main use case is breakpoint)
karma start
- Open
http://localhost:9876/debug.html
form WebStorm. - We Can Set Breakpoint!!
More Detail on
- Running JavaScript tests with Karma - WebStorm - Confluence
- Karma ユニットテストをWebStormでデバッグする - Kazzzの日記
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT