enum tester_test_status

Overview

Statuses of test execution inside Tester. More…

#include <tester_result.h>

enum tester_test_status {
    TESTER_TEST_INCOMPLETE = 0,
    TESTER_TEST_EMPTY,
    TESTER_TEST_SKIPPED,
    TESTER_TEST_FAKED,
    TESTER_TEST_PASSED,
    TESTER_TEST_FAILED,
    TESTER_TEST_SEARCH,
    TESTER_TEST_DIRTY,
    TESTER_TEST_KILLED,
    TESTER_TEST_CORED,
    TESTER_TEST_PROLOG,
    TESTER_TEST_EPILOG,
    TESTER_TEST_KEEPALIVE,
    TESTER_TEST_EXCEPTION,
    TESTER_TEST_STOPPED,
    TESTER_TEST_ERROR,
    TESTER_TEST_STATUS_MAX,
};

Detailed Documentation

Statuses of test execution inside Tester.

Order of values is not arbitrary here, bigger values are considered as having higher priority when determining test group’s result, see tester_group_status(), run_verify_cfg_backup().

Enum Values

TESTER_TEST_INCOMPLETE

Test execution has not been finished

TESTER_TEST_EMPTY

Session is empty

TESTER_TEST_SKIPPED

The test is skipped because of target requirements specified by user

TESTER_TEST_FAKED

Test execution is just faked by the Tester

TESTER_TEST_PASSED

Discovered IUT behaviour is correct from the test point of view

TESTER_TEST_FAILED

Discovered IUT behaviour is incorrect from test point of view or some internal error occur

TESTER_TEST_SEARCH

Test to be executed is not found

TESTER_TEST_DIRTY

Unexpected configuration changes after test execution

TESTER_TEST_KILLED

Test application is killed by some signal

TESTER_TEST_CORED

Test application is killed by SIGSEGV signal and dumped core into a file

TESTER_TEST_PROLOG

Session prologue is failed

TESTER_TEST_EPILOG

Session epilogue is failed

TESTER_TEST_KEEPALIVE

Session keep-alive validation is failed

TESTER_TEST_EXCEPTION

Session exception handler is failed

TESTER_TEST_STOPPED

Tests execution is interrupted by user

TESTER_TEST_ERROR

Test status is unknown because of Tester internal error

TESTER_TEST_STATUS_MAX

Dummy test status