Tags

Tags for the categorisation of tests in the carputils framework.

A list of tags may be passed to the constructor of a test:

from carputils.testing import Test, tag
newtest = Test('mytest', run, ['--experiment', 'new'],
               tags=[tag.SERIAL, tag.FAST])

These tags may then be used to filter the tests you wish to run on the command line with carptests:

carptests devtests.mechanics --tag fast

FAST

Runtime less than 30 seconds.

Assigned to tests:

SHORT

Runtime less than 1 minute.

Assigned to tests:

MEDIUM

Runtime less than 20 minutes.

Assigned to tests:

LONG

Runtime greater than 20 minutes.

SERIAL

Serial executed job.

Assigned to tests:

PARALLEL

Parallel executed job.

Assigned to tests:

GPU

GPU executed job.

MONODOMAIN

Tests monodomain EP functionality.

Assigned to tests:

BIDOMAIN

Tests bidomain EP functionality.

Assigned to tests:

PSEUDO_BIDOMAIN

Tests pseudo_bidomain EP functionality.

Assigned to tests:

EIKONAL

Tests eikonal EP functionality.

Assigned to tests:

PURKINJE

Tests purkinje EP functionality.

Assigned to tests:

MECHANICS

Tests mechanics functionality.

Assigned to tests:

FEMLIB

Tests a FEMLIB tool.

Assigned to tests:

IO

Tests openCARP I/O routines.

Assigned to tests:

ANALYTIC

Compare simulation with analytic result.

Assigned to tests:

POSTPROCESS

Tests postprocessing routines.

Assigned to tests:

OPENSRC

Example supported by the community edition.