News for hackers. Stuff that matters.
Re:Django, now with JavaScript tests by exogen on Friday July 03, 2015 @02:11AM (#9823814)
Indeed, it's better in a bunch of ways! The one that finally got me to switch was that Jasmine didn't have an official CLI version for the longest time; it was browser-based and the CLIs were all third-party (and none of them very good). It includes one now, but it was too late.
Re:Django, now with JavaScript tests by pluma on Friday July 03, 2015 @05:02AM (#9824397)
We first adopted Jasmine for our internal JavaScript tests in ArangoDB (https://www.arangodb.com) to replace the ancient and inconvenient framework we were using before. It worked, kinda, but it was a mess. We still needed something to expose to developers wishing to test their own apps in the DB and doing that with Jasmine proved to be pretty much impossible.

It was extremely straightforward to integrate with Mocha, though. We just needed to stub out some of the node.js-specific code and provide a very small wrapper to provide our own module loader and reporting plugins. There is an active effort to split up Mocha into multiple modules in order to make it more portable, which would make the stubbing unnecessary, too.