Skip to content

GLib.TestSuite

record (struct)

An opaque structure representing a test suite.

Methods

add

def add(self, test_case: TestCase) -> None

Adds test_case to suite.

Parameters:

  • test_case — a test case

add_suite

def add_suite(self, nestedsuite: TestSuite) -> None

Adds nestedsuite to suite.

Parameters:

  • nestedsuite — another test suite

free

def free(self) -> None

Frees the suite and all nested suites.