Re: [Pyunit-interest] Timing
Brought to you by:
purcell
From: Michal W. <sa...@ma...> - 2001-04-04 13:41:24
|
On Wed, 4 Apr 2001, Luigi Ballabio wrote: > > Hi all, > feel free to blame me for not diving into the code and finding that I can > implement this myself by subclassing TestResult :) > The question is: given a suite of test cases, would it be possible and/or > of interest to anyone to display the time elapsed for running the single > test cases, besides the total time for the suite? If enough interest exist, > could it be made a (command-line) option? > I know the above can be easily accomplished by running the cases one by > one. However, I would like to keep the concept of "test suite for a module" > as opposed to "set of unrelated tests for some functionalities of a module". Luigi, Why not run the whole thing under the python profiler, and then only print results for your test cases? Cheers, - Michal ------------------------------------------------------------------------ www.manifestation.com www.sabren.net www.linkwatcher.com www.zike.net ------------------------------------------------------------------------ |