Skip to content

robot.model.totalstatistics

TotalStatistics

TotalStatistics(rpa: bool = False)

Container for total statistics.

Source code in src/robot/model/totalstatistics.py
def __init__(self, rpa: bool = False):
    #: Instance of :class:`~robot.model.stats.TotalStat` for all the tests.
    self.stat = TotalStat(test_or_task('All {Test}s', rpa))
    self._rpa = rpa

message property

message: str

String representation of the statistics.

For example:: 2 tests, 1 passed, 1 failed