- Run py.tests and unitest.TestCase tests on Atom.
-
You need py.test installed to use this package:
pip install pytest
When using virtualenv, the recommended workflow is:
- Activate your virtualenv on terminal.
- Run atom editor, so this plug-in will get py.test from virtualenv (or use atom-python-virtualenv plug-in).
On settings you can configure the path to the python executable, so you can choose your python executable from virtualenv, miniconda, pyenv, etc. You can configure additionalArgs to the pytest command line executor too.
-
Running all tests
(Ctrl + Alt + T)
-
Run test under cursor
(Ctrl + Alt + C)
-
Toggle (on/off) the tests panel
(Ctrl + Alt + H)