t_end
- t_end()
t_end()- Finish running tests and print statistics.t_endChecks the global counters that were updated by calls to the individual test functions
t_ok(),t_is(),t_file_match(),t_str_match()andt_skip(), and prints out a summary of the test results.Example:
quiet = 0; t_begin(5, quiet); t_ok(pi > 3, 'size of pi'); t_skip(3, 'not yet written'); t_is(2+2, 4, 12, '2+2 still equals 4'); t_end;
See also
t_begin(),t_ok(),t_is(),t_str_match(),t_file_match(),t_skip(),t_run_tests().