untested
Orders tests for a source code change based on code coverage analysis.
Last updated 7 years ago by bahmutov .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install untested -g
SYNC missed versions from official npm registry.

untested

Orders tests for a source code change based on code coverage analysis.

Scenario:

foo.js
bar.js // uses foo.js

tests/
	fooTest.js
	barTest.js

You have edited foo.js and rerun tests/fooTest.js. Are you done? No. Do you know which tests are somehow affected by foo.js? What if you have 100s of JavaScript source files and 100s of unit tests. Testing everything on every commit would take hours ...

untested is the solution.

  1. Run a unit test using gt or lasso-node or solid-code, and you get code coverage results.
  2. Throw these results into untested.
  3. On a commit give the changelist to untested and get back ordered list of tests affected.
  4. Run these tests first. Get the results right away.

License

MIT style license, see file.

Author

Contact Gleb Bahmutov gleb.bahmutov@gmail.com with any questions, etc.

Current Tags

  • 0.1.5                                ...           latest (7 years ago)

14 Versions

  • 0.1.5                                ...           7 years ago
  • 0.1.4                                ...           7 years ago
  • 0.1.3                                ...           8 years ago
  • 0.1.2                                ...           8 years ago
  • 0.1.1                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
  • 0.0.9                                ...           8 years ago
  • 0.0.8                                ...           8 years ago
  • 0.0.6                                ...           8 years ago
  • 0.0.5                                ...           8 years ago
  • 0.0.4                                ...           8 years ago
  • 0.0.3                                ...           8 years ago
  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 3
This Month 3
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (3)

Copyright 2014 - 2017 © taobao.org |