Public API for getting test method / function

Bug #1517867 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Triaged
Wishlist
Unassigned

Bug Description

It'd be nice to have a public API for getting at the method for a test case. Currently, there's the private _get_test_method() method.

Current use case is writing RunTest implementations that change their behaviour based on annotations applied to the test method. (e.g. a thing that intermittently retries known-flaky tests).

Work-around for that use case is to have a different RunTest implementation for each test.

Jonathan Lange (jml)
Changed in testtools:
status: New → Triaged
importance: Undecided → Wishlist
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.