En Mon, 07 May 2007 04:49:12 -0300, Vyacheslav Maslov
<[EMAIL PROTECTED]> escribió:
> Yes, i general you are right. I meant following case, please look at my
> example
>
> Suppose i have following simple test case:
>
> import unittest
>
> class SomeTest(unittest.TestCase):
>
> def testAdd(se
Yes, i general you are right. I meant following case, please look at my
example
Suppose i have following simple test case:
import unittest
class SomeTest(unittest.TestCase):
def testAdd(self):
self.assertEqual(2+2,4)
if __name__=="__main__":
unittest.TextTestRunner().run(SomeTest
En Sun, 06 May 2007 22:17:44 -0300, Vyacheslav Maslov
<[EMAIL PROTECTED]> escribió:
> i have question related to python's unit testing framework.
>
> Take a look at unittest.TestCase class. The main method which contains
> all
> code related to test case execution have name "run". But in the s