Skip to content

Latest commit

 

History

History
executable file
·
33 lines (20 loc) · 1.73 KB

README.md

File metadata and controls

executable file
·
33 lines (20 loc) · 1.73 KB

atom-mocha package

Join the chat at https://gitter.im/boogie666/atom-mocha

Dependency Status

devDependency Status

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 usage

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.

Features

  • 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

Contributing

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 :)