Re: [Tutor] composing one test suite from two test cases

2010-01-11 Thread Kent Johnson
On Mon, Jan 11, 2010 at 8:53 AM, Tom Roche wrote: > Kent Johnson Mon, 11 Jan 2010 06:42:39 -0500 >> However I don't recommend this style of organizing tests. I prefer >> using nose for test discovery, it saves the work of creating all the >> aggregating suites. > > I've heard of Nose and am plan

Re: [Tutor] composing one test suite from two test cases

2010-01-11 Thread Tom Roche
Tom Roche Sun, Jan 10, 2010 at 10:44 PM >> How to create a single unittest test suite class that runs all >> methods from multiple TestCase classes? Kent Johnson Mon, 11 Jan 2010 06:42:39 -0500 > The supported way to do this is to create a test suite. There is an > example here: > http://docs.py

Re: [Tutor] composing one test suite from two test cases

2010-01-11 Thread Kent Johnson
On Sun, Jan 10, 2010 at 10:44 PM, Tom Roche wrote: > > How to create a single unittest test suite class that runs all methods > from multiple TestCase classes? Why I ask: > > I'm trying to relearn TDD and learn Python by coding a simple app. > Currently the app has 2 simple functional classes, Pid

[Tutor] composing one test suite from two test cases

2010-01-10 Thread Tom Roche
How to create a single unittest test suite class that runs all methods from multiple TestCase classes? Why I ask: I'm trying to relearn TDD and learn Python by coding a simple app. Currently the app has 2 simple functional classes, Pid and TallyPid, and 2 very simple testcases, PidTests and Tally