allow re-running of a test item (as exercised by the

pytest-rerunfailures plugins) by re-initializing and removing
request/funcargs information in runtestprotocol() - which is a slightly
odd place to add funcarg-related functionality but it allows all
pytest_runtest_setup/teardown hooks to properly see a valid
request/funcarg content on test items.
This commit is contained in:
holger krekel
2013-04-22 10:35:48 +02:00
parent cf7cae0780
commit b2cb93e06d
7 changed files with 57 additions and 8 deletions

View File

@@ -1,6 +1,9 @@
Changes between 2.3.4 and 2.3.5dev
-----------------------------------
- allow re-running of test items / helps to fix pytest-reruntests plugin
and also should help to keep less fixture/resource references alive
- put captured stdout/stderr into junitxml output even for passing tests
(thanks Adam Goucher)