sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37574
[Question #290421]: htmltestrunner def test() example
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.