Provide an option for easy instrumenting of resource setup and teardown
Bug #284125 reported by
Jonathan Lange
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testresources |
Fix Released
|
Medium
|
Robert Collins |
Bug Description
When debugging failures to do with strange resource behaviour, it would be great to be able to flick a switch and see when resources are created and destroyed.
Something similar to the Zope test runner's output for layer setup and teardown would be an OK start.
We've landed an incremental branch that provides a trace facility, but its awkward to use. Better possibilities are discussed down in the bug.
Related branches
lp:~lifeless/testresources/bug-284125
- testresources developers: Pending requested
- Diff: None lines
Changed in testresources: | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in testresources: | |
assignee: | Jonathan Lange (jml) → Robert Collins (lifeless) |
status: | Triaged → Fix Committed |
Changed in testresources: | |
status: | Fix Committed → Triaged |
description: | updated |
Changed in testresources: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
On Thu, 2008-10-16 at 00:45 +0000, Jonathan Lange wrote:
> Public bug reported:
>
> When debugging failures to do with strange resource behaviour, it would
> be great to be able to flick a switch and see when resources are created
> and destroyed.
>
> Something similar to the Zope test runner's output for layer setup and
> teardown would be an OK start.
Agreed. Providing a template function approach to setup and teardown this-function would make this easy.
rather than an override-
-Rob www.robertcolli ns.net/ keys.txt>.
--
GPG key available at: <http://