robot.reporting.resultwriter
¶
ResultWriter
¶
A class to create log, report, output XML and xUnit files.
:param sources: Either one :class:~robot.result.executionresult.Result
object, or one or more paths to existing output XML files.
By default writes report.html and log.html, but no output XML
or xUnit files. Custom file names can be given and results disabled
or enabled using settings or options passed to the
:meth:write_results method. The latter is typically more convenient::
1 2 | |
Source code in src/robot/reporting/resultwriter.py
write_results
¶
Writes results based on the given settings or options.
:param settings: :class:~robot.conf.settings.RebotSettings object
to configure result writing.
:param options: Used to construct new
:class:~robot.conf.settings.RebotSettings object if settings
are not given.