[py-svn] commit/pytest: hpk42: add a note about hook partial finalization issues
Bitbucket
commits-noreply at bitbucket.org
Thu Jul 7 21:16:15 CEST 2011
1 new changeset in pytest:
http://bitbucket.org/hpk42/pytest/changeset/53d76a1973d0/
changeset: 53d76a1973d0
user: hpk42
date: 2011-07-07 21:15:35
summary: add a note about hook partial finalization issues
affected #: 1 file (253 bytes)
--- a/ISSUES.txt Thu Jul 07 09:43:39 2011 -0500
+++ b/ISSUES.txt Thu Jul 07 21:15:35 2011 +0200
@@ -7,13 +7,16 @@
the protocol now - setup/teardown is called at module level.
consider making calling of setup/teardown configurable
-profiling / hook call optimization
--------------------------------------
-tags: enhancement 2.1
+fix start/finish partial finailization problem
+---------------------------------------------------------------
+tags: bug core
-bench/bench.py reveals that for very quick running
-unit tests the hook architecture is a bit slow.
-Profile and improve hook calls.
+if a configure/runtest_setup/sessionstart/... hook invocation partially
+fails the sessionfinishes is not called. Each hook implementation
+should better be repsonsible for registering a cleanup/finalizer
+appropriately to avoid this issue. Moreover/Alternatively, we could
+record which implementations of a hook succeeded and only call their
+teardown.
do early-teardown of test modules
-----------------------------------------
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list