Investigate testing options for front-end
Closed this issue · 3 comments
mtorres253 commented
Q-unit, jasmine, mocha chai as options? This story is to investigate a framework for unit testing.
ertzeid commented
Summary of what I've found:
- Jasmine, Mocha, and QUnit seem to be the most popular frameworks.
- While Mocha does work for all frameworks, it doesn't include its own matchers.
- Jasmine looks like the most popular overall, based on GitHub stars (10k, vs 8k for Mocha and 3k for QUnit)
Based on the above and the Front End Guild's recommendation to favor more popular tools (https://pages.18f.gov/frontend/recommendations/ under "Choosing a Tool"), I recommend using Jasmine for JavaScript testing.
ertzeid commented
... Does this story include setting up the framework? I can't remember what we discussed. cc: @mtorres253
mtorres253 commented
I believe this is done @ertzeid? If so can you move to done?