Skip to content

Runnable Test

trentmeester edited this page Jun 12, 2012 · 5 revisions

A runnable test is a concept that allows a developer, on a per test basis, to indicate to the framework whether a test can run based upon any criteria. Every developed test case indicates to the framework an answer to the question: Can the test execute now? While answering the question, the framework forces constraints upon the answer as ordered from cmd line arguments. The final answer to the question must not violate the these constraints and must be provided in a child's overriding implementation of method RunnableCoreTest().

Framework Constraints

Currently there is only 1 constraint possible and it is handed down to every test via the cmd line option --preserve.

RunnableCoreTest() Method

Every child must override RunnableCoreTest() base class method, failure to do so results in a test failure. This is the place each test case must answer the question outlined above. There are 3 possible outcomes to this question and are detailed as follows.

YES, This Test Can Execute Now

The

Clone this wiki locally