Open the-t-in-rtf opened 4 years ago
gpii-testem
handles a lot of this for you, but the approach used there was based on an example from the testem docs, you might also choose to implement your own depending.
I made a pass at this, but paused and parked the work in a branch because:
Testem
not closing at the end of a test run.fluid-testem
did not seem to be picking up the directory configuration and writing the reports somewhere that could be monitored.
Once we have code and tests, we should follow best practice and add code coverage reporting using a tool like
nyc.js
. This should be called as part of thenpm test
script definition and as part of our CI builds.