Atom ExUnit Runner Package
Add ability to run ExUnit and see the output without leaving Atom.
HotKeys:
- Ctrl+Alt+T - executes all tests the current file
- Ctrl+Alt+X - executes only the test on the line the cursor's at
- Ctrl+Alt+E - re-executes the last executed test
Configuration
By default this package will run exunit
as the command.
You can set the default command by either accessing the Settings page (Cmd+,) and changing the command option.
Or by opening your configuration file (clicking Atom > Open Your Config) and adding or changing the following snippet:
'exunit':
'command': 'exunit'
'root_directory': 'apps/my_primary_app'
Note: Ideally we'd detect umbrella apps and automatically cd
into the umbrella app before running the tests, but for now you can set a "root_directory" which should be the primary directory for your apps.
Acknowledgements
This is a direct fork of atom-rspec (https://github.com/fcoury/atom-rspec). Thanks for @fcoury for the code!
Developer notes
Publish a new version with apm publish 1.0.2 minor