compass.TestGroup

class compass.TestGroup(mpas_core, name)[source]

The base class for test groups, which are collections of test cases with a common purpose (e.g. global ocean, baroclinic channel, Greenland, or EISMINT2)

Variables
  • name (str) – the name of the test group

  • mpas_core (compass.MpasCore) – the MPAS core that this test group belongs to

  • test_cases (dict) – A dictionary of test cases in the test group with the names of the test cases as keys

__init__(mpas_core, name)[source]

Create a new test group

Parameters
  • mpas_core (compass.MpasCore) – the MPAS core that this test group belongs to

  • name (str) – the name of the test group

Methods

__init__(mpas_core, name)

Create a new test group

add_test_case(test_case)

Add a test case to the test group