testrunner

Undocumented in source.

Members

Functions

runTests
void runTests(TestClass testClass)

Scans a class and executes methods in the following order. 1. Class @BeforeClass methods. 2. Base class @BeforeClass methods. 3. Class @Test methods. 4. Base class @Test methods. 5. Class @AfterClass methods. 6. Base class @AfterClass methods.

Structs

AfterClass
struct AfterClass

When runTests is called on an object, methods annotaetd with @BeforeClass will be executed before any other methods. These methdos typically tear down test resources.

BeforeClass
struct BeforeClass

When runTests is called on an object, methods annotaetd with @BeforeClass will be executed before any other methods. These methods typically set up test resources.

Test
struct Test

When runTests is called on an object, methods annotated with @Test will be executed after @BeforeClass methods, but before @AfterClass methods. The name of a test will be displayed during execution.

Meta