Miss any of our Open RFC calls?Watch the recordings here! »

testfull

1.0.0 • Public • Published

testfull

Built-in

Usage

Add -test.js suffix with your test files

"srcipts": {
  "test": "testfull"
}

with options:

testfull --port 9888 --assert shouldjs --browsers Chrome

Options

  • --port: server port, default is 9876;
  • --browsers: default: PhantomJS, run tests in specify browsers;
  • --assert: run tests with custom assert library <expectjs、shouldjs、chaijs(default)>

Browsers & Assert Libs

Browsers:

atool-test --browsers Chrome,Firefox

  • Chrome: npm install karma-chrome-launcher --save-dev
  • Firefox: npm install karma-firefox-launcher --save-dev
  • IE: npm install karma-ie-launcher --save-dev
  • Safari: npm install karma-safari-launcher --save-dev

Assert Libs:

atool-test --assert expectjs

  • expectjs: npm install karma-sinon-expect --save-dev
  • shouldjs: npm install karma-should-sinon karma-should karma-sinon --save-dev

Install

npm i testfull

DownloadsWeekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar