[TIP] [ANN] pytest.vim 1.0.0

Alfredo Deza alfredodeza at gmail.com
Tue Jul 19 05:12:41 PDT 2011

Last night I made a rather big release of `pytest.vim` [0], a Vim plugin
that allows
you to run tests from within Vim (for files, functions, classes or methods).

This release includes the following features:

* `looponfail`: Continuously run the last command upon saving the buffer if
the test had any failures
                    until the test run passes.
* Support for function tests
* Better feedback when py.test reports errors.
* Failed/Error list will move the test file to the actual line for the
failure if moving through it.

As a side note, I remember Gary Bernhardt mentioning that there were other
Vim plugins that would
allow you to run tests by setting your test runner with `makeprg` in Vim
(and that I should try to work towards
unification with them).

But I decided that a generic, one-size-fits-all test runner plugin for Vim
would be either very limited (no support
for every feature for every runner) or very bloated (trying to fit every
feature for every runner!).

This plugin packs a good amount of features, make sure to skim through the
documentation [1] (also included
with the plugin in native Vim doc format). If there is something that you
would want, or have any suggestions
do let me know.


[0] http://www.vim.org/scripts/script.php?script_id=3424
[1] https://github.com/alfredodeza/pytest.vim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20110719/1081fbb0/attachment.html>

More information about the testing-in-python mailing list