Robot Framework
robot.model.totalstatistics.TotalStatistics Class Reference

Container for total statistics. More...

Public Member Functions

def __init__ (self, rpa=False)
 
def __iter__ (self)
 
def add_test (self, test)
 
def visit (self, visitor)
 

Properties

 failed = property
 
 message = property
 String representation of the statistics. More...
 
 passed = property
 
 skipped = property
 
 total = property
 

Private Member Functions

def _get_counts (self)
 
def failed (self)
 
def message (self)
 
def passed (self)
 
def skipped (self)
 
def total (self)
 

Private Attributes

 _rpa
 
 _stat
 

Detailed Description

Container for total statistics.

Definition at line 23 of file totalstatistics.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.model.totalstatistics.TotalStatistics.__init__ (   self,
  rpa = False 
)

Definition at line 25 of file totalstatistics.py.

Member Function Documentation

◆ __iter__()

def robot.model.totalstatistics.TotalStatistics.__iter__ (   self)

Definition at line 33 of file totalstatistics.py.

◆ _get_counts()

def robot.model.totalstatistics.TotalStatistics._get_counts (   self)
private

Definition at line 81 of file totalstatistics.py.

◆ add_test()

def robot.model.totalstatistics.TotalStatistics.add_test (   self,
  test 
)

Definition at line 60 of file totalstatistics.py.

◆ failed()

def robot.model.totalstatistics.TotalStatistics.failed (   self)
private

Definition at line 57 of file totalstatistics.py.

◆ message()

def robot.model.totalstatistics.TotalStatistics.message (   self)
private

Definition at line 71 of file totalstatistics.py.

◆ passed()

def robot.model.totalstatistics.TotalStatistics.passed (   self)
private

Definition at line 45 of file totalstatistics.py.

◆ skipped()

def robot.model.totalstatistics.TotalStatistics.skipped (   self)
private

Definition at line 51 of file totalstatistics.py.

◆ total()

def robot.model.totalstatistics.TotalStatistics.total (   self)
private

Definition at line 39 of file totalstatistics.py.

◆ visit()

def robot.model.totalstatistics.TotalStatistics.visit (   self,
  visitor 
)

Definition at line 30 of file totalstatistics.py.

Member Data Documentation

◆ _rpa

robot.model.totalstatistics.TotalStatistics._rpa
private

Definition at line 28 of file totalstatistics.py.

◆ _stat

robot.model.totalstatistics.TotalStatistics._stat
private

Definition at line 27 of file totalstatistics.py.

Property Documentation

◆ failed

robot.model.totalstatistics.TotalStatistics.failed = property
static

Definition at line 55 of file totalstatistics.py.

◆ message

robot.model.totalstatistics.TotalStatistics.message = property
static

String representation of the statistics.

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

Definition at line 69 of file totalstatistics.py.

◆ passed

robot.model.totalstatistics.TotalStatistics.passed = property
static

Definition at line 43 of file totalstatistics.py.

◆ skipped

robot.model.totalstatistics.TotalStatistics.skipped = property
static

Definition at line 49 of file totalstatistics.py.

◆ total

robot.model.totalstatistics.TotalStatistics.total = property
static

Definition at line 37 of file totalstatistics.py.


The documentation for this class was generated from the following file: