Multithreading and multiprocessing for python tests of web-services

137 views Asked by At

I have python class that contains several def's (>100). Each def contains one test. I'm trying to set up defs to multithreading / multiprocessing run. But it is unsuccessfully.

Class Method1(unittest.TestCase):
   def test1(self):
      #some test

   def test1(self):
      #some test

   ...

   def testN(self):
      #some test

How can I to set up this running? Thanks!

0

There are 0 answers