Closed toolness closed 7 years ago
Test frameworks/helper libraries
-R spec
Baseline test coverage
Integration testing
Testing in staging/production
Philosophy
Good resources on testing that align with our values: lets add some
Oh, we should also consider measuring test coverage, and plug the stats in to some kind of dashboard, to incentivize improving test coverage.
@toolness, @k88hudson hell yeah. :metal:
@toolness do you mind filing some of this functionality against @adamlofting's repo? https://github.com/adamlofting/webmaker-metrics
@Pomax will be stubbing out a sample project that we'll all use to implement these opinions here: https://github.com/MozillaFoundation/unicorn
Since we're looking at alot of the other Facebook libs for dev, how about their test runner, jest?
I haven't used jest, but I'm cool with investigating it--I am not tied to Mocha. Honestly, though, I don't even mind different projects using different testing tools--which is why I wrote "prefer" in the draft decisions--as long as metrics like coverage % still get passed back to the build dashboard.
Yeah, I think that's a better metric -- Do we have tests? Do they cover enough of the thing to be useful?
Other questions: