I am looking for a unit testing harness in Node.js/JS that has good facilities for unit testing all the methods of a class. I'd like the test harness to throw an error or log a warning if not all methods of the class have at least one associated test case. Is there a test framework in Node.js that allows you to do this easily?
Test coverage tools allow you to do this to a certain extent, but it requires more human visual inspection - I am looking for a way to fail a test suite if the test suite does not cover all the units/methods of a class.
Aucun commentaire:
Enregistrer un commentaire