Created
February 26, 2014 10:26
-
-
Save nelstrom/9227224 to your computer and use it in GitHub Desktop.
An attempt at writing an errorformat for output from the nose test runner.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let &makeprg="cat nose.txt" | |
let &errorformat="%E%f line %l in test_foo," | |
let &errorformat.="%C%m," | |
let &errorformat.="%Z" | |
make! | |
copen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
..F. | |
----------------------------------------------------------------------------- | |
1) FAIL: test_foo (links.tests.SteelTest) | |
Traceback (most recent call last): | |
links/tests.py line 8 in test_foo | |
self.assertEqual(2, 3) | |
AssertionError: 2 != 3 | |
----------------------------------------------------------------------------- | |
4 tests run in 0.2 seconds. | |
1 FAILED (3 tests passed) | |
nosetests --verbosity=1 | |
Creating test database for alias 'default'... | |
Destroying test database for alias 'default'... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment