Hi

I have a class that I wont to test.  Lets say this class has 10
methods.  These methods accept each for example 2 arguments.  For
each method I write 5 tests (5 tests that send different arguments to
each method) that makes 10 * 5 test methods = 50 test methods.  Too
many methods and code for me in one test class, So I figured out i
would extend my test class to different ones and reuse its setup()
teardown(), however when extending it in the suite of my extending
class I had to specify each test method I wanted to test otherwise If
I used 
testSuite.addTestSuite(ExtendingInternalServicesTest.class);
then it not only ran the ExtendingInternalServicesTest but also ran
the InternalServicesTest test methods... so my question is is there
anyway to have the suite of my extending test class
testSuite.addTestSuite(ExtendingInternalServicesTest.class); without
its running its super test methods.








Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=315388.5529720.6602079.3001176/D=groups/S=:HM/A=2372354/rand=469028881


Yahoo! Groups Links

Reply via email to