holger krekel
|
410438f187
|
fix issue43 - better tracebacks for unexpected exceptions in doctests
|
2011-05-28 14:38:15 +02:00 |
holger krekel
|
8dc4e732f0
|
fix issue47 - fix time-per-test timing output for junitxml
|
2011-05-28 14:03:10 +02:00 |
Benjamin Peterson
|
e98057130d
|
a few more sentences
|
2011-05-27 12:30:27 -05:00 |
Ronny Pfannschmidt
|
70d22fbe9a
|
update changelog
|
2011-05-27 12:58:22 +02:00 |
Ronny Pfannschmidt
|
56b40ebd75
|
use os.path.expanduser/expandvars on the junitxml path for convience, fixes #44
|
2011-05-27 07:54:03 +02:00 |
Benjamin Peterson
|
5f75c5851f
|
can use non-underscored addoption
|
2011-05-26 23:15:33 -05:00 |
Benjamin Peterson
|
606ea870f0
|
versionadded and versionchanged for asserts
|
2011-05-26 23:13:39 -05:00 |
Benjamin Peterson
|
e56838cb6c
|
write an explicit raise if the assertion fails
|
2011-05-26 21:15:40 -05:00 |
Benjamin Peterson
|
e22d3e03fe
|
doc updates for new assertion debugging
|
2011-05-26 21:08:55 -05:00 |
Benjamin Peterson
|
d53feaf6f0
|
fix help for --assertmode
|
2011-05-26 20:59:43 -05:00 |
Benjamin Peterson
|
914f689ee8
|
beef up --assertmode help
|
2011-05-26 20:33:12 -05:00 |
Benjamin Peterson
|
971f34147a
|
test that tests get rewritten
|
2011-05-26 20:06:11 -05:00 |
Benjamin Peterson
|
16b4f54545
|
remove module before/after import hooks
|
2011-05-26 20:00:29 -05:00 |
Benjamin Peterson
|
abb07fc732
|
new way to rewrite tests: do it all during fs collection
This should allow modules to be rewritten before some other test module loads
them.
|
2011-05-26 19:57:30 -05:00 |
Benjamin Peterson
|
cf6949c9a3
|
stuff contents of pytest_collection hook into perform_collect
|
2011-05-26 19:53:47 -05:00 |
Benjamin Peterson
|
2f984e0c23
|
remove after_initial_collect hook
|
2011-05-26 19:43:02 -05:00 |
Benjamin Peterson
|
0a7237b72f
|
refactor common config/session protocol code for main() functions
|
2011-05-26 19:09:42 -05:00 |
Benjamin Peterson
|
f684a9ed56
|
expose Session on pytest namespace
|
2011-05-26 18:58:31 -05:00 |
Benjamin Peterson
|
196cece338
|
add a hook called after the inital fs collection
|
2011-05-26 18:57:37 -05:00 |
Benjamin Peterson
|
241ff0b43a
|
add a hook called when a Module is successfully created
|
2011-05-26 18:56:45 -05:00 |
Benjamin Peterson
|
411e9b136b
|
do configure hooks here, too
|
2011-05-26 18:37:04 -05:00 |
Benjamin Peterson
|
96521ada68
|
call configure hooks in reparseconfig
|
2011-05-26 18:11:12 -05:00 |
Benjamin Peterson
|
7cf8afef47
|
cause configure hooks to be called
|
2011-05-26 18:10:49 -05:00 |
Benjamin Peterson
|
657522b629
|
a less ugly way to detect if assert rewriting is enabled
|
2011-05-26 17:17:48 -05:00 |
Benjamin Peterson
|
dd199d255c
|
move _setupstate into session
|
2011-05-26 17:08:56 -05:00 |
Benjamin Peterson
|
89d6defd68
|
correctly initialize and shutdown sessions
|
2011-05-26 17:08:44 -05:00 |
Benjamin Peterson
|
c4d761fe99
|
these tests should cause pytest_configure to be called
|
2011-05-26 16:50:04 -05:00 |
Benjamin Peterson
|
bf3d9f3737
|
correct attribute name
|
2011-05-26 16:18:18 -05:00 |
Benjamin Peterson
|
32a67f9622
|
add some tracing in the assert plugin
|
2011-05-26 16:08:25 -05:00 |
Benjamin Peterson
|
d438a0bd83
|
introduce --assertmode option
|
2011-05-26 14:34:27 -05:00 |
Benjamin Peterson
|
d3645758ea
|
this comment was moved away
|
2011-05-26 13:17:39 -05:00 |
Benjamin Peterson
|
15b9e8ed7d
|
forgot to util module
|
2011-05-26 13:17:26 -05:00 |
Benjamin Peterson
|
ee64da4bad
|
fix grammar
|
2011-05-26 13:15:21 -05:00 |
Benjamin Peterson
|
4fe13e59a7
|
fix comment
|
2011-05-26 13:15:03 -05:00 |
Benjamin Peterson
|
250160b4b0
|
refactor explanation formatting things into their own module
|
2011-05-26 12:01:34 -05:00 |
Benjamin Peterson
|
f423ce9c01
|
import assertion code from pylib
|
2011-05-25 17:54:02 -05:00 |
Benjamin Peterson
|
491c05cea7
|
create the _pytest/assertion package
|
2011-05-25 16:18:45 -05:00 |
Benjamin Peterson
|
e02d22aa4f
|
expand try/except/finally which py2.4 does't like
|
2011-05-25 15:55:57 -05:00 |
Benjamin Peterson
|
c0910abf2f
|
account py3 range objects
|
2011-05-24 18:30:18 -05:00 |
Benjamin Peterson
|
b061e71da9
|
account for py3 dict.values
|
2011-05-24 18:28:20 -05:00 |
Benjamin Peterson
|
fa412675fc
|
use py.builtin.exec_
|
2011-05-24 18:28:05 -05:00 |
Benjamin Peterson
|
0bb84abca7
|
handle comparison results which raise when asked for their truth value
|
2011-05-24 18:15:08 -05:00 |
Benjamin Peterson
|
f5decc90ca
|
test that python loads our fake pycs
|
2011-05-24 17:52:17 -05:00 |
Benjamin Peterson
|
7fc2f8786f
|
refactor writing the fake pyc into its own function
|
2011-05-24 17:48:56 -05:00 |
Benjamin Peterson
|
76cede83c0
|
add a way to disable assertion rewriting for a module
|
2011-05-24 17:30:35 -05:00 |
Benjamin Peterson
|
993efe927b
|
fix sentence
|
2011-05-24 17:28:20 -05:00 |
Benjamin Peterson
|
9c4f6791e5
|
give initial imports a reasonable lineno
|
2011-05-24 17:21:58 -05:00 |
Benjamin Peterson
|
7ba8fee3dc
|
improve this test
|
2011-05-20 09:44:36 -05:00 |
Benjamin Peterson
|
265b7458cb
|
in the common case, the and operation isn't needed
|
2011-05-19 22:11:18 -05:00 |
Benjamin Peterson
|
dc3e39e95c
|
a less silly way to check comparison results
|
2011-05-19 21:57:27 -05:00 |