HTML reporting on multiple suites
Sorry if this has been answered already but I’ve searched and couldn’t find the answer to this.
I’ve got several test scripts set up as suites that I am trying to call from a main test script. I can call them and run them but the reporting doesn’t come out as expected. I get an overlap of the 2 test suites. Is this possible in Sikuli? I feel I am close but can’t quite get the right results. My goal is to be able to run multiple suites from one main script. I’m new to programming and python so go easy :)
Any advice would be great
My code looks like this:
testScriptA.Sikuli
from sikuli import*
import unittest
import HTMLTestRunner
class UnitTestA(
def setup(self):
test code
def teardown(self):
test code
def someTest(self):
test code
testScriptB.Sikuli
from sikuli import*
import unittest
import HTMLTestRunner
class UnitTestB(
def setup(self):
test code
def teardown(self):
test code
def someTest(self):
test code
mainTest.sikuli
import unittest
from UnitTestA import*
from UnitTestB import*
suite1=
suite2=
unittest.
outfile = open("C:
runner = HTMLTestRunner.
runner.run(suite1)
runner.run(suite2)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: