Benjamin Peterson
4fcd346838
update assert docs
2011-06-29 10:52:39 -05:00
holger krekel
f4eb15632d
refine and streamline Floris example for an assert_reprcompare hook.
2011-06-20 18:12:48 +02:00
Floris Bruynooghe
d027f9d546
Add pytest_assertrepr_compare() docs
2011-06-20 14:18:12 +02:00
holger krekel
8de50347fb
some fixes and clarifications to assert docs
2011-06-18 22:30:46 +02:00
Benjamin Peterson
4b4a2c8162
merge heads
2011-06-18 15:09:50 -05:00
Benjamin Peterson
29d58ffdf2
note condition for introspection happening
2011-06-18 15:07:36 -05:00
holger krekel
9ea58242d4
fix getting-started which claimed you need to avoid side effect in asserts
2011-06-15 07:50:34 +02:00
Benjamin Peterson
8f6477f695
fix spacing
2011-06-12 16:39:38 -05:00
holger krekel
ce1b456762
back out pytest_configure_funcargs hook for now
2011-06-01 15:08:54 +02:00
holger krekel
5690beab5a
merge Benjamin's assertion-rewrite branch: all assertion related code is now part of py.test core distribution - the builtin assertion plugin to be precise.
...
See doc/assert.txt for details on how what has been improved.
2011-05-31 14:11:53 +02:00
Benjamin Peterson
00dee742b0
describe how assert rewriting interacts with cross test imports
2011-05-28 19:00:47 -05:00
holger krekel
4b7293428b
add Mozilla QA people to pytest users
2011-05-29 00:47:32 +02:00
Benjamin Peterson
6fdcecb864
typo
2011-05-28 16:04:36 -05:00
Benjamin Peterson
f63ff5267c
s/debugging/introspection/
2011-05-28 16:01:02 -05:00
Benjamin Peterson
e98057130d
a few more sentences
2011-05-27 12:30:27 -05:00
Benjamin Peterson
606ea870f0
versionadded and versionchanged for asserts
2011-05-26 23:13:39 -05:00
Benjamin Peterson
e22d3e03fe
doc updates for new assertion debugging
2011-05-26 21:08:55 -05:00
Ronny Pfannschmidt
b6815538c5
introduce the pytest_configure_funcargs hook for better control on funcarg instanciation/configuration
2011-05-12 23:47:05 +02:00
holger krekel
ea936213bc
fix link to pypy tests
2011-05-12 13:52:14 +02:00
holger krekel
07e870dc14
unbump version to retag
2011-05-11 11:54:30 +02:00
holger krekel
ee53b1f591
bump version
2011-05-11 11:23:46 +02:00
holger krekel
63ccec90be
regen examples to use 2.0.3 version number
2011-05-01 12:38:56 +02:00
holger krekel
f8137390c2
add release announcement
2011-04-17 23:16:14 +02:00
holger krekel
cf4e14baed
add @classmethod although it's not strictly neccessary for basic cases.
2011-03-16 19:05:28 +01:00
holger krekel
6aaaaa8e67
fix issue link
2011-03-11 15:25:37 +01:00
holger krekel
527bc472a8
fix install location
2011-03-09 13:59:00 +01:00
holger krekel
007f0daeb9
bump to release version, regenerate docs
2011-03-09 10:58:36 +01:00
holger krekel
f8e3fe8fbf
mention that one might need to use the pypi.testrun.org repository
2011-03-07 11:53:14 +01:00
holger krekel
22fac92ca0
improve and clarify skipping docs
2011-03-05 13:08:43 +01:00
holger krekel
fadd1a2313
incorporate typo/grammar fixes from Laura and respond to a number of issues she raised in comments.
...
Also fixed links and some other bits and pieces.
2011-03-03 23:40:38 +01:00
holger krekel
070c73ff2f
fix issue30 (the second time)
...
put module globals into namespace for xfail and skipif expressions
2011-03-03 23:22:55 +01:00
holger krekel
8d62e4c71c
add "issues" to layout of web page
2011-02-16 00:32:57 +01:00
Brianna Laugher
f6c1e49287
Fix mistakes in monkeypatch doc example
2011-02-18 16:52:18 +11:00
holger krekel
27577170e1
doc typo fixes from Victor Garcia, thanks!
2011-02-17 14:46:40 +01:00
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
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
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
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
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
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
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
c7531705fc
refine plugin registration, allow new "-p no:NAME" way to prevent/undo plugin registration
2010-12-06 16:54:42 +01:00