Profiling my test suite

Joshua 'Schwa' Gargus schwa at cc.gatech.edu
Wed Oct 8 13:46:01 UTC 2003


For each test case class you have, you could do something like:

MessageTally spyOn: [MyTestCase buildSuite run]

Of course, if you have many test case classes, you can put them
in a collection, and iterate through them in the #spyOn: block.

Joshua


On Wed, Oct 08, 2003 at 11:13:05AM +0200, Giovanni Corriga wrote:
> Hi Squeakers!
> 
> I have a question about test cases and profiling.
> I have a test suite with about 100 testcases. Running all the cases
> takes slightly less than 6 minutes, so I want to profile it in order to
> find out where the bottleneck is. The problem is that I don't know how
> to proceed. Do you have any suggestions?
> 
> 	Thanks,
> 		Giovanni
> 



More information about the Squeak-dev mailing list