holger krekel
5c8df1d4ca
turn some tests from skipped to xfail
...
strike dead code, small refinements to xfail exception reporting
--HG--
branch : 1.0.x
2009-08-09 23:46:27 +02:00
holger krekel
d41949a6e3
Test* classes with an __init__ method are not collected anymore
...
--HG--
branch : 1.0.x
2009-08-06 18:15:21 +02:00
holger krekel
58c6971dc8
nicer error message for non-collectable test files / items
...
fixes issue #27
--HG--
branch : 1.0.x
2009-08-06 15:26:45 +02:00
holger krekel
cea46a86aa
[mq]: rename
...
--HG--
branch : 1.0.x
2009-08-06 15:02:38 +02:00
holger krekel
afc8e6bd91
more terse reporting of collection errors / tracebacks, bump version number aiming for 1.0.1
...
--HG--
branch : 1.0.x
2009-08-06 14:49:55 +02:00
holger krekel
8fcdac9dd6
* fix capturing and unicode printing in tests
...
* introduce "_encoding" to py/io/terminalwriter writing
* beautify a few __repr__ for better internal debugging
--HG--
branch : 1.0.x
2009-08-06 14:34:19 +02:00
holger krekel
8c8617c354
* rename "rep" to "report" in reporting hooks
...
* refine docs
* bump version data
* improve announcement
--HG--
branch : 1.0.x
2009-08-04 12:00:04 +02:00
holger krekel
66cf2d3092
make pylint plugin not bail out early, still does nothing useful, though
...
--HG--
branch : 1.0.x
2009-08-03 16:34:48 +02:00
holger krekel
1a570011fe
showing relative paths by default, improving xfail output a bit, bumping version info to 1.0.0
...
--HG--
branch : 1.0.x
2009-08-03 16:01:32 +02:00
holger krekel
30d77f77af
shift options and tests to terminal plugin
...
--HG--
branch : 1.0.x
2009-08-03 15:27:26 +02:00
holger krekel
1349edd3c6
rename iocapture to capture, add/remove some missing files
...
--HG--
branch : 1.0.x
2009-08-03 12:16:12 +02:00
holger krekel
96c863b3c1
rename pocoo to "pastebin" plugin, write documentation, implement whole-session-pasting
...
--HG--
branch : 1.0.x
2009-08-03 11:56:56 +02:00
holger krekel
e80714d701
fixes for python 2.4
...
--HG--
branch : 1.0.x
2009-07-31 15:35:22 +02:00
holger krekel
a7382df5e9
fix/work around some corner cases for dist-testing
...
--HG--
branch : 1.0.x
2009-07-31 14:22:02 +02:00
holger krekel
737c32c783
handle final teardown properly, add a new experimental hook for it.
...
--HG--
branch : 1.0.x
2009-07-31 14:22:02 +02:00
holger krekel
61c53602f2
introduce new "Error" outcome and group setup/teardown and collection failures into that category. Report them separately.
...
--HG--
branch : 1.0.x
2009-07-31 14:22:02 +02:00
holger krekel
be949f4037
* reworked capturing to only capture once per runtest cycle
...
* added readouterr() method to py.io capturing helpers
--HG--
branch : 1.0.x
2009-07-31 14:21:02 +02:00
holger krekel
ad34e50b71
properly handle test items that get locally collected but cannot be collected on the remote side (often due to platform reasons)
...
--HG--
branch : 1.0.x
2009-07-30 09:52:12 +02:00
holger krekel
dcf194ebb8
simplify py.test.mark API,
...
add more plugin docs
--HG--
branch : 1.0.x
2009-07-28 14:26:32 +02:00
holger krekel
9aa781907e
enable capturing during collect
...
added a few xfailed tests for fixture reporting
--HG--
branch : 1.0.x
2009-07-25 18:45:04 +02:00
holger krekel
04e9197fd6
* reworked per-test output capturing into the pytest_iocapture.py plugin
...
* removed all capturing code from config object and pytest_default plugins
* item.repr_failure(excinfo) instead of item.repr_failure(excinfo, outerr)
* added a few logging tests
--HG--
branch : 1.0.x
2009-07-25 18:09:01 +02:00
holger krekel
7fabb3df69
update docs, leave out internal plugins
...
--HG--
branch : 1.0.x
2009-07-22 16:09:49 +02:00
holger krekel
155ffa07de
applying samuele's patch fixing a regression
...
resolves issue #26
--HG--
branch : 1.0.x
2009-07-22 14:50:17 +02:00
holger krekel
6216ab2bb7
adding a test and some support code for creating
...
an "sdist" package, unpacking in a virtualenv and
importing and verifying the version
--HG--
branch : 1.0.x
2009-07-22 14:47:10 +02:00
holger krekel
066f8e854d
* refine keyboardinterrupt handling for --dist
...
* generate tests for various options
--HG--
branch : 1.0.x
2009-07-22 14:39:09 +02:00
holger krekel
4f735a66c5
improve unittest documentation, enable plugin by default
...
--HG--
branch : 1.0.x
2009-07-20 18:54:18 +02:00
holger krekel
16aa1571c0
new cleaner layout, many improvements to docs
...
--HG--
branch : 1.0.x
2009-07-20 18:54:08 +02:00
holger krekel
8be0ea942a
introduced pytest_keyboardinterrupt hook
...
removed optional argument from pytest_sessionfinish hook
--HG--
branch : 1.0.x
2009-07-20 14:01:40 +02:00
holger krekel
04a98700d9
* move some test_pytest_terminal tests to become functional/acceptance tests
...
* refine pytest_namespace to not take a config object
--HG--
branch : 1.0.x
2009-07-17 18:07:37 +02:00
holger krekel
e43e58afed
split off tests from pytest_terminal reporter plugin
...
--HG--
branch : 1.0.x
2009-07-17 16:19:19 +02:00
holger krekel
60a7556ca3
resolves issue 25
...
fix documentation for cached_setup, thanks to anonymous for reporting.
--HG--
branch : 1.0.x
2009-07-17 14:52:11 +02:00
holger krekel
013381fae1
* add a script for generating plugin docs
...
* improve generation of docs
* refine plugins docs
--HG--
branch : 1.0.x
2009-07-14 21:17:13 +02:00
holger krekel
a2837ab778
fix test
...
--HG--
branch : trunk
2009-07-09 13:13:31 +02:00
holger krekel
605f36c905
fix logging interaction issue
...
--HG--
branch : trunk
2009-07-09 13:12:00 +02:00
holger krekel
2603a0b76e
fix figleaf plugin import
...
--HG--
branch : 1.0.x
2009-07-08 19:57:45 +02:00
holger krekel
8f0a85aee1
* streamlining plugin docstrings
...
* better organisation of example directory, also does not break
whole-test run anymore
--HG--
branch : 1.0.x
2009-07-08 19:18:26 +02:00
holger krekel
88a0714dfa
* refix handling of partial setup failures
...
* shuffle / consolidate related tests
* re-gen setup.py
--HG--
branch : 1.0.x
2009-07-08 16:41:30 +02:00
holger krekel
183af95526
* refined funcarg docs and CHANGELOG
...
* fixed funcarg setup and error-raising issue
--HG--
branch : 1.0.x
2009-07-05 14:22:01 +02:00
holger krekel
6167ba8923
(radomir, holger) tweak doctest reporting for docstrings from python modules
...
--HG--
branch : 1.0.x
2009-07-01 14:24:19 +01:00
holger krekel
7cb096373b
fix typo
...
--HG--
branch : 1.0.x
2009-06-29 07:32:33 +01:00
holger krekel
8b7dfb29c5
re-introduce py.test.mark and move py.test.xfail to py.test.mark.xfail
...
--HG--
branch : 1.0.x
2009-06-28 13:27:34 +02:00
holger krekel
bd8f68555d
re-adding py.test.mark as documented (!) by adding pytest_keyword plugin
...
--HG--
branch : 1.0.x
2009-06-28 13:19:43 +02:00
holger krekel
a137b62370
add py.test version to verbose reporting
...
correctly regen setup
--HG--
branch : 1.0.x
2009-06-24 16:57:55 +02:00
holger krekel
c491a708e0
add test and fix keyword recogniation, thanks Andreas Kloeckner
...
--HG--
branch : 1.0.x
2009-06-24 16:04:42 +02:00
holger krekel
f531a1d6c9
addresses issue #22
...
allow test functions to have no func_code
--HG--
branch : 1.0.x
2009-06-24 15:55:57 +02:00
holger krekel
7602096f81
perform state setup finalization earlier
...
--HG--
branch : 1.0.x
2009-06-24 15:43:37 +02:00
holger krekel
4ab0f25b05
remove scope argument from request.addfinalizer
...
--HG--
branch : 1.0.x
2009-06-23 17:10:52 +02:00
holger krekel
53dc595113
b3, fix (likelY) windows-path-comparison related issue at plugin registration
...
link to PyPI
--HG--
branch : trunk
2009-06-19 13:05:44 +02:00
holger krekel
82d40724fa
fixing docs, adding newest ez_setup.py, fixing a few win32 failures, fixing iocapture plugin
...
--HG--
branch : trunk
2009-06-18 19:02:59 +02:00
holger krekel
964ecbdb19
shift deprecated_call helper into pytest_recwarn plugin
...
--HG--
branch : trunk
2009-06-18 17:26:40 +02:00