I am a newbie and that says it all about posting a basic doubt. I still hope someone helps me out .
I am unit testing some modules. My test module is in diff file than the modules
to be tested. My code is something like this :
<PRE>
class xyz(unittest.TestCase):
def testAbc():
.....
def testPqr():
.....
def testKlm():
.....
def makeTestSuite():
suite = unittest.TestSuite()
suite.addTest(xyz("testAbc"))
suite.addTest(xyz("testPqr"))
return suite
if __name__ == "__main__":
unittest.main()
</PRE>
But, though i am adding only tow test cases in the test suite, all the 3 test cases are running. I cannot figure out the reson. Could someone please help me?
Regards,
rdps