api
test_env.ch
Declarations in test_env.ch
8 declarationstest_env
Declarations
Public only
LogType#
Publicenum
enum LogType {
Information,
Warning,
Success,
Error,
Panic,
UnknownFailure,
ConfigFailure,
IOFailure,
NetworkFailure,
MemoryFailure,
RuntimeFailure,
OutOfBoundFailure,
ResourceFailure,
TodoFailure,
SecurityFailure,
WTFFailure
}
TestEnv#
Publicinterface
interface TestEnv
this interface is exposed to client testing environment
tests use this interface to send messages to the parent executable
get_test_id#
Publicfunction
func get_test_id(self : &TestEnv) : int
* get the current test id
* less than zero when not known due to a failure
get_group_name#
Publicfunction
* get the group name this test belongs to
* empty when belongs to no group
logIt#
Publicfunction
* this function logs it