← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #692914]: HTMLTestRunner add screens for a comparative regression test

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- Is there a simple way to add some code (method) in the
HTMLTestRunner to do that ?

Look into the code of the bundled HTMLTestRunner.py (app data folder
Lib).

There is already a modification, to add the last screenshot to the
output on failure.

This might help, to understand the principle.

Make a copy named stag. like MyHTMLTestRunner.py, put it somewhere in
your working environment and make your modifications.

How to make things ready to import it into your scripts:
https://sikulix-2014.readthedocs.io/en/latest/scenarios.html#access-python-packages-from-sikulix-scripts-run-by-sikulix-gui-or-commandline

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