Jasmine vs Mocha: What are the differences?
"Can also be used for tdd " is the primary reason why developers consider Jasmine over the competitors, whereas "Open source" was stated as the key factor in picking Mocha.
Jasmine and Mocha are both open source tools. Mocha with 18K GitHub stars and 2.43K forks on GitHub appears to be more popular than Jasmine with 14.4K GitHub stars and 2.12K GitHub forks.
Sellsuki, Onedio, and triGo GmbH are some of the popular companies that use Mocha, whereas Jasmine is used by Coderus, Infoshare, and Ztory. Mocha has a broader approval, being mentioned in 397 company stacks & 268 developers stacks; compared to Jasmine, which is listed in 143 company stacks and 75 developer stacks.
We use Mocha for our FDA verification testing. It's integrated into Meteor, our upstream web application framework. We like how battle tested it is, its' syntax, its' options of reporters, and countless other features. Most everybody can agree on mocha, and that gets us half-way through our FDA verification and validation (V&V) testing strategy.