etr  4.0-pre
Public Member Functions | Public Attributes | Properties | List of all members
etr.tools.xunit.TestSuiteResult Class Reference

Suite of tests. More...

Public Member Functions

def __init__ (self, str name, str package)
 Construct new instance. More...
 
def add_test (self, TestCaseResult test)
 Add test result. More...
 

Public Attributes

 name
 
 package
 
 tests
 
 stdout
 
 stderr
 

Properties

 num_passed = property
 Return number of passed tests. More...
 
 num_errors = property
 Return number of errors. More...
 
 num_failures = property
 Return number of failures. More...
 
 num_skipped = property
 Return number of skipped tests. More...
 
 passed = property
 Return passed tests. More...
 
 errors = property
 Return errors. More...
 
 failures = property
 Return failures. More...
 
 skipped = property
 Return skipped tests. More...
 

Detailed Description

Suite of tests.

Constructor & Destructor Documentation

◆ __init__()

def etr.tools.xunit.TestSuiteResult.__init__ (   self,
str  name,
str  package 
)

Construct new instance.

Member Function Documentation

◆ add_test()

def etr.tools.xunit.TestSuiteResult.add_test (   self,
TestCaseResult  test 
)

Add test result.

Member Data Documentation

◆ name

etr.tools.xunit.TestSuiteResult.name

◆ package

etr.tools.xunit.TestSuiteResult.package

◆ stderr

etr.tools.xunit.TestSuiteResult.stderr

◆ stdout

etr.tools.xunit.TestSuiteResult.stdout

◆ tests

etr.tools.xunit.TestSuiteResult.tests

Property Documentation

◆ errors

etr.tools.xunit.TestSuiteResult.errors = property
static

Return errors.

◆ failures

etr.tools.xunit.TestSuiteResult.failures = property
static

Return failures.

◆ num_errors

etr.tools.xunit.TestSuiteResult.num_errors = property
static

Return number of errors.

◆ num_failures

etr.tools.xunit.TestSuiteResult.num_failures = property
static

Return number of failures.

◆ num_passed

etr.tools.xunit.TestSuiteResult.num_passed = property
static

Return number of passed tests.

◆ num_skipped

etr.tools.xunit.TestSuiteResult.num_skipped = property
static

Return number of skipped tests.

◆ passed

etr.tools.xunit.TestSuiteResult.passed = property
static

Return passed tests.

◆ skipped

etr.tools.xunit.TestSuiteResult.skipped = property
static

Return skipped tests.


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