← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #251939]: HTML Testrunner is stuck in middle. No report No error

 

Question #251939 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251939

    Status: Open => Answered

RaiMan proposed the following answer:
The standard approach with test running:
- create a suite containing the tests you want to run
- setup a testrunner (HTMLTestRunner in this case defining the reportfile)
- testrunner.run(suite)
- close report file in case one was created 

If you follow this concept, then you may setup as many test steps as you
want, by simply setting up a suite (might only contain one test) and run
it with a specific report file.

About how to select tests as members of a suite you have to consult the
Python unittest docs.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.