New question #290421 on Sikuli:
https://answers.launchpad.net/sikuli/+question/290421

I need to execute 100 test cases with the same def test() with different 
values. Is this posssible ?

import unittest
import HTMLTestRunner

class MyTest1(unittest.TestCase):
    def test1(a,b):
        if ((a+b) == 5)
                assert True

suite = unittest.TestLoader().loadTestsFromTestCase(MyTest1)
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(MyTest2))


How can call suite.addtests in for loop ?
How can i pass parameters a & B



-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to