[tahoe-dev] [tahoe-lafs] #634: trial Reporter which shows per-test times

tahoe-lafs trac at allmydata.org
Wed Feb 18 14:21:35 PST 2009


#634: trial Reporter which shows per-test times
--------------------------------+-------------------------------------------
 Reporter:  warner              |           Owner:  warner   
     Type:  enhancement         |          Status:  new      
 Priority:  minor               |       Milestone:  undecided
Component:  dev-infrastructure  |         Version:  1.3.0    
 Keywords:                      |   Launchpad_bug:           
--------------------------------+-------------------------------------------
 I've been casually trying to speed up our unit test suite, and it would
 help me focus my attention if the Reporter class could tell me which tests
 were taking the most time (especially on the slower buildslaves, where I'm
 not watching the output in realtime).

 So it's be nice if there were a Reporter class which would emit the
 elapsed time of each test case, right next to the {{{[OK]}}} line,
 something like:

 {{{
 allmydata.test.test_system
   SystemTest
     test_mutable ...                    [OK] 2.12s
 }}}

 We have a custom Reporter class for figleaf already, so it shouldn't be
 too hard to build this one.

 I'd want to run this on all the buildbot builds. I'm not sure I'd want to
 make it the default for 'make test', but maybe it wouldn't be too
 distracting.

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/634>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list