untested
v0.1.5
Published
Orders tests for a source code change based on code coverage analysis.
Downloads
322
Readme
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.
- Run a unit test using gt or lasso-node or solid-code, and you get code coverage results.
- Throw these results into untested.
- On a commit give the changelist to untested and get back ordered list of tests affected.
- Run these tests first. Get the results right away.
License
MIT style license, see file.
Author
Contact Gleb Bahmutov [email protected] with any questions, etc.