Benjamin Peterson
|
d853d9a9af
|
treat local as a black box
|
2011-06-12 21:57:22 -05:00 |
Benjamin Peterson
|
57a3d4d6d8
|
some tweaks to allow pypy apptests to use newinterpret
|
2011-06-12 17:07:49 -05:00 |
Benjamin Peterson
|
8f6477f695
|
fix spacing
|
2011-06-12 16:39:38 -05:00 |
Benjamin Peterson
|
2618e3640f
|
account for quotes in error messages
|
2011-06-03 22:11:00 -05:00 |
Benjamin Peterson
|
43de6c270f
|
fix assertion introspection on python 3.2+
|
2011-06-03 16:51:49 -05:00 |
holger krekel
|
ce1b456762
|
back out pytest_configure_funcargs hook for now
|
2011-06-01 15:08:54 +02:00 |
holger krekel
|
332bceeb7a
|
add issue49 fix to CHANGELOG
|
2011-06-01 14:55:50 +02:00 |
holger krekel
|
e3b2792677
|
fix issue49 - avoid confusing errors when initialization goes wrong
|
2011-06-01 14:54:34 +02:00 |
holger krekel
|
67859158d4
|
fix issue48 - test and fix typo in MarkInfo repr
|
2011-06-01 08:03:06 +02:00 |
holger krekel
|
5dfce4a0ca
|
update authors to reflect more current situation
|
2011-06-01 08:00:12 +02:00 |
holger krekel
|
6c90059342
|
- properly include _pytest.assertion in distribution
- import assertion only at import-test module time
|
2011-05-31 15:21:08 +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 |
holger krekel
|
8bc9fdc8d3
|
fix a buffering issue that i think/hope only occurs during internal tests
|
2011-05-29 09:21:48 +02:00 |
Benjamin Peterson
|
00dee742b0
|
describe how assert rewriting interacts with cross test imports
|
2011-05-28 19:00:47 -05:00 |
Benjamin Peterson
|
5e31624315
|
return to the old scheme of rewriting test modules from _importtestmodule
|
2011-05-28 18:47:16 -05:00 |
holger krekel
|
5e311d3bfc
|
fix timing float comparison
|
2011-05-29 00:45:31 +02: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 |
Ronny Pfannschmidt
|
5498fe960f
|
add another normpath in the junitxml tests
|
2011-05-28 19:00:23 +02:00 |
Ronny Pfannschmidt
|
4c885cf0d2
|
hopefully final win32 fix for the junitxml path expansion
|
2011-05-28 17:36:38 +02:00 |
Benjamin Peterson
|
326b63adf8
|
bump pylib required
|
2011-05-28 10:02:51 -05:00 |
Ronny Pfannschmidt
|
70dc7a976d
|
dont wrap comparisation paths in py.path.local for the junitxml tests, since missing $HOME causes issues else
|
2011-05-28 16:52:05 +02:00 |
Ronny Pfannschmidt
|
89a98e3276
|
also apply normpath to junitxml file path
|
2011-05-28 16:21:57 +02:00 |
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 |