Vimux plugin for running pytest. Similar to vimux-ruby-test and vimux-nose-test.
- vim
- vimux (0.3.0 or greater)
Use pathogen.
- RunPytest - runs just
pytest
in the current directory - RunPytestBuffer - runs
pytest
for the current file in the vim buffer - RunPytestFocused - runs
pytest
for the current test on the vim cursor (if current cursor is not on a line that starts withtest_
, it will search backwards for the first hit)
Special thanks to Tony. This is basically a copy of vimux-nose-test
.