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.

Assigned to tests:

SERIAL

Serial executed job.

Assigned to tests:

PARALLEL

Parallel executed job.

Assigned to tests:

GPU

GPU executed job.

PURKINJE

Tests purkinje EP functionality.

Assigned to tests:

MECHANICS

Tests mechanics functionality.

Assigned to tests:

IO

Tests openCARP I/O routines.

Assigned to tests:

POSTPROCESS

Tests postprocessing routines.

Assigned to tests:

OPENSRC

Example supported by the community edition.