Results

Result Codes

The results of each test step are published in a log file. The following table lists the possible values.

Code Value Purpose

KErrTEFUnitPass

0

KErrTEFUnitFail

106

KErrTEFUnitInconclusive

107

Indicates that the test was skipped (for example, because of invalid arguments).

KErrTEFUnitTestSuiteError

108

Indicates test suite errors.

KErrTEFUnitAbort

109

Indicates that the test aborted (for example, because of timeout or invalid intermediate outputs).

KErrTEFUnitIgnore

110

Intended for future use.

Result Logging

TEFUnit uses the standard set of TEF MACROs for logging. The TEFUnit framework logs all test case executions and test suite traversals in the TEF log file.

The result of a test suite is logged as pass only when all the unit tests in that suite pass. If a single unit test fails, the result is logged as fail.

For further information, refer to Log Output in the TEF documentation.

NOTE: The value that appears in the log file summary as the total number of tests run is the number of test steps run.