• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-python-test

Run py.test tests using Python
  • #python
  • #tests
  • #runner
  • #py.test
  • #pytest
pghilardi
49,823
17
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Description

  • Run py.tests and unitest.TestCase tests on Atom.

Requirements

  • 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).

configuration

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.

Usage

  1. Running all tests (Ctrl + Alt + T)

  2. Run test under cursor (Ctrl + Alt + C)

  3. Toggle (on/off) the tests panel (Ctrl + Alt + H)

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by