TestSuite

class TestSuite(*args, **kwargs)

An opaque structure representing a test suite.

Methods

class TestSuite
add(test_case: TestCase) None

Adds test_case to suite.

Added in version 2.16.

Parameters:

test_case – a TestCase

add_suite(nestedsuite: TestSuite) None

Adds nestedsuite to suite.

Added in version 2.16.

Parameters:

nestedsuite – another TestSuite

free() None

Free the suite and all nested TestSuite.

Added in version 2.70.