http://xryun-porosyan.livejournal.com/ ([identity profile] xryun-porosyan.livejournal.com) wrote in [personal profile] juan_gandhi 2007-03-28 12:13 am (UTC)

You can also create a method with the name setup() in your unit test.

It works especially well, if you have a big hierarchy (some sort of framework) of test classes, and you you use this method to initialize generic infrastructure in the base class of this hierarchy ...



Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting