Displays and ending the current tests suite
void
end_test_case
()
Ends the last group of test suites
void
end_test_suite
()
test_before_assert_func_name (line
218)
void
test_before_assert_func_name
()
test_before_func_name (line
211)
void
test_before_func_name
()
test_call_func (line
239)
Calls a function if exists
mixed
test_call_func
(string $func, mixed $arg,..)
-
string
$func: the function name
-
mixed
$arg,..: (optional)
Starting a new test case
void
test_case
(string $name)
test_case_current (line
203)
void
&test_case_current
()
test_case_describe (line
152)
Describes the current tests suite
string
test_case_describe
([string $msg = NULL])
test_cli_format (line
295)
void
test_cli_format
( $text, $format)
Do HTTP request and return the response content.
string
test_request
(string $url, [string $method = "GET"], [bool $include_header = false], [ $post_data = array()], [ $http_header = array()])
-
string
$url
-
string
$method
-
bool
$include_header
-
$post_data
-
$http_header
test_run_assertion (line
225)
void
test_run_assertion
()
Starts a test suite
void
test_suite
(string $name)