Part of bzrlib.tests View In Hierarchy
The profile data is appended to the test's _benchcalls attribute and can be accessed by the forwarded-to TestResult.
While it might be cleaner do accumulate this in stopTest, addSuccess is where our existing output support for lsprof is, and this class aims to fit in with that: while it could be moved it's not necessary to accomplish test profiling, nor would it be dramatically cleaner.
Method | startTest | Undocumented |
Method | addSuccess | Undocumented |
Method | stopTest | Undocumented |