Skip to content

pfriedrich/atom-python-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

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

Usage

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

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

  3. Hide the execution panel (Ctrl + Alt + H)

Run tests

To-Do List

  • Call py.test executable to run a python file.
  • Show the output on a bottom closable pane.
  • Add basic support to run test under cursor.
  • Format the output and separate the output for each test.
  • Add support to run all project tests.

This project is on initial development. Feel free to contribute reporting bugs, improvements or creating pull requests.

About

Run py.test tests on Atom

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 95.0%
  • CSS 5.0%