atom-mocha is an Atom package that allows you to run Mocha tests easily from within Atom. It has a sleek UI that displays the test results.
atom-mocha is a rather unique Atom package, as it uses React + Redux for the UI, which makes it render very quickly.
Unlike other Mocha packages for Atom, atom-mocha doesn't use your local version of Mocha. It uses a bundled version to ensure compatibility. Support for local versions of Mocha may come later.
- Tests can be run from almost anywhere, with convenient shortcuts
- File context menu (*.js) (Run Test)
- Folder context menu (Run Tests)
- ALT + SHIFT + T (Run Test - Current File)
- CTRL + SHIFT + R (Re-run last test)
- Test output UI
- Allows you to jump from a particular test to the definition line in your test file.
- Statistics view view with elapsed time and number of passed/failed/pending tests
Feel free to fork this project and submit pull requests. I'd be more then happy to have people contribute to this nifty little tool I've been working on :)