testtools tests cannot be re-run using `trial -u`

Bug #1517879 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Fix Released
Medium
Jonathan Lange

Bug Description

Trial has a "run until failure" feature which re-runs tests using `test.run(result)` until the test fails. This is very useful for debugging intermittently failing tests.

Currently, testtools tests cannot be run twice: the setUp & tearDown safety warnings will error out. testing-cabal/testtools#165 is in progress and solving that.

Even once this is fixed, the details attached to a test will be accumulated between runs.

Downstream: https://clusterhq.atlassian.net/browse/FLOC-3462

Jonathan Lange (jml)
description: updated
Changed in testtools:
status: New → In Progress
assignee: nobody → Jonathan Lange (jml)
importance: Undecided → Medium
Revision history for this message
Jonathan Lange (jml) wrote :

Fixed in f13c0ddf18487e5735cde2bb2464d0933aed9ec4

Changed in testtools:
status: In Progress → Fix Committed
milestone: none → next
Jonathan Lange (jml)
Changed in testtools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.