holger krekel
70ceb946e4
fix typo, thanks antocuni
2011-02-14 18:49:16 +01:00
holger krekel
d2f9b41519
some doc fixes and improvements to parametrized test examples, thanks ccxCZ for review and suggestions.
2011-02-09 14:55:21 +01:00
holger krekel
2bd0c98801
up version, commit 2.0.1 annoucnement as sent out
2011-02-07 11:54:08 +01:00
holger krekel
5a5a618dcb
Added tag 2.0.1 for changeset e4497c2aed35
2011-02-07 11:45:47 +01:00
holger krekel
98cd8edb71
regen docs with examples
2011-02-07 11:45:37 +01:00
holger krekel
e7b69a2ac0
doc fixes
2011-02-07 11:39:05 +01:00
holger krekel
74b9ebc1cd
accept a left out "()" for ids on command line for better compatibility with pytest.vim
2011-02-07 11:09:42 +01:00
holger krekel
3004fe3915
fix the last committed laxation of a test
2011-02-04 23:20:27 +01:00
holger krekel
eb225456d7
laxer test for also passing it with pypy
2011-02-04 22:51:05 +01:00
holger krekel
b04f87b1a6
add release announcement
2011-02-03 15:58:22 +01:00
holger krekel
35b0b376f0
bumping version to pytest-2.0.1, regen docs and examples
2011-02-03 15:14:50 +01:00
holger krekel
762ea71f67
fix error reporting issue when a "pyc" file has no relating "py"
2011-01-27 21:11:21 +01:00
holger krekel
adacd3491d
fix test related to "not in"
2011-01-27 11:36:12 +01:00
Floris Bruynooghe
709d5e3f2c
Improve the "not in" assertion output
...
This cleans up the generic diff and tailors the output more to this
specific assertion (based on feedback from hpk).
2011-01-25 20:47:34 +00:00
holger krekel
d8d88ede65
refine and unify initial capturing - now works also if the logging module
...
is already used from an early-loaded conftest.py file (prior to option parsing)
2011-01-18 12:51:21 +01:00
holger krekel
b8f0d10f80
fix a pypy related regression - re-allow self.NAME style collection tree customization
2011-01-18 12:47:31 +01:00
holger krekel
aea4d1bd7a
fix regression with yield-based tests (hopefully)
2011-01-14 13:30:36 +01:00
holger krekel
2b750074f4
fix typo (thanks derdon)
2011-01-13 23:50:10 +01:00
holger krekel
88cfaebbcb
fix issue12 - show plugin versions with "--version" and "--traceconfig" and also document how to add extra information to reporting test header
2011-01-12 19:39:36 +01:00
holger krekel
426e056d2b
fix issue10 - numpy arrays should now work better in assertion expressions
...
(or any other objects which have an exception-raising __nonzero__ method ...)
2011-01-12 19:17:54 +01:00
holger krekel
4445685285
pypy doesn't neccessarily honour -OO it seems, let's not test assertions there.
2011-01-12 18:57:40 +01:00
holger krekel
ae9b7a8bea
use pypi.testrun.org so that py>1.4.0 gets picked up correctly
2011-01-12 18:03:55 +01:00
holger krekel
5daef51000
fix issue14 : it was actually issue14 instead of issue8 that was fixed with
...
the older https://bitbucket.org/hpk42/pytest/changeset/1c3eb86502b3
please try out with the usual "pip install -i http://pypi.testrun.org -U pytest"
2011-01-12 17:35:09 +01:00
holger krekel
647b56614a
fix issue17 by requiring an update to pylib which helps to fix it
2011-01-12 17:21:11 +01:00
holger krekel
1b3fb3d229
fix issue15 - tests for python3/nose-1.0 combo work now
2011-01-11 17:27:34 +01:00
holger krekel
170c78cef9
remove same-conftest.py detection - does more harm than good
...
(see mail from Ralf Schmitt on py-dev)
2011-01-11 15:54:47 +01:00
Benjamin Peterson
8f5d837ef6
duplicate word
2010-12-23 14:56:38 -06:00
holger krekel
0ec5f3fd6c
small improvements, add assertion improvement to CHANGELOG
2010-12-10 12:28:04 +01:00
Floris Bruynooghe
8631c1f57a
Add "not in" to detailed explanations
...
This simply uses difflib to compare the text without the offending
string to the full text.
Also ensures the summary line uses all space available. But the
terminal width is still hardcoded.
2010-12-10 01:03:26 +00:00
holger krekel
821f493378
check docstring at test time instead of runtime, improve and test warning on assertion turned off (thanks FND for reporting)
2010-12-09 11:00:31 +01:00
holger krekel
4086d46378
fix issue11 doc typo (thanks Eduardo)
2010-12-07 15:25:25 +01:00
holger krekel
a15983cb33
rather named the new hook cmdline_preparse
2010-12-07 12:34:18 +01:00
holger krekel
9ab256c296
make getvalueorskip() be hidden in skip-reporting. also bump version.
2010-12-07 12:18:24 +01:00
holger krekel
7db9e98b55
introduce a pytest_cmdline_processargs hook to modify/add dynamically to command line arguments.
2010-12-07 12:14:12 +01:00
holger krekel
e6541ed14e
bump version and fix changelog issue reference
2010-12-06 19:01:50 +01:00
holger krekel
fc4f72cb1f
fix issue7 - assert failure inside doctest doesn't prettyprint
...
unexpected exceptions are now reported within the doctest failure
representation context.
2010-12-06 19:00:30 +01:00
holger krekel
feea4ea3d5
fix hasplugin() method / test failures
2010-12-06 18:32:04 +01:00
holger krekel
513482f4f7
fix issue9 wrong XPass with failing setup/teardown function of xfail marked test
...
now when setup or teardown of a test item/function fails and the test
is marked "xfail" it will show up as an xfail-ed test.
2010-12-06 18:20:47 +01:00
holger krekel
2e80512bb8
fix issue8 : avoid errors caused by logging module wanting to close already closed streams.
...
The issue arose if logging was initialized while capturing was enabled
and then capturing streams were closed before process exit, leading
to the logging module to complain.
2010-12-06 16:56:12 +01:00
holger krekel
c7531705fc
refine plugin registration, allow new "-p no:NAME" way to prevent/undo plugin registration
2010-12-06 16:54:42 +01:00
holger krekel
752965c298
add some docs and new projects
2010-12-06 10:41:20 +01:00
holger krekel
96a687b97c
make pytest test suite pypy ready
2010-11-27 16:40:52 +01:00
holger krekel
d894bae281
bumping version to a dev version, run tests by using python PyPI by default
2010-11-26 13:37:00 +01:00
holger krekel
f1fc6e5eb6
regenerating examples
2010-11-26 13:26:56 +01:00
Benjamin Peterson
ca72c162c8
need double colon here
2010-11-25 20:55:32 -06:00
holger krekel
9bcb66d9a5
Added tag 2.0.0 for changeset e9e127acd6f0
2010-11-25 21:03:08 +01:00
holger krekel
f741d6a01e
fix trove classifier
2010-11-25 21:02:09 +01:00
holger krekel
b622c85bbf
last changes, preparing 2.0.0
2010-11-25 20:06:42 +01:00
holger krekel
9e7ef58cfd
some small pre-release updates
2010-11-25 16:36:25 +01:00
holger krekel
0efa6e5aea
adding anto's projects
2010-11-25 13:00:01 +01:00