set_test_items() set_test_items( $items = array()) : void Run the tests Runs the supplied tests Parameters $items
run() run( $test, $expected = TRUE, $test_name = 'undefined', $notes = '') : string Run the tests Runs the supplied tests Parameters $test $expected $test_name $notes Returns string
report() report( $result = array()) : string Generate a report Displays a table with the test data Parameters $result Returns string
use_strict() use_strict( $state = TRUE) : null Use strict comparison Causes the evaluation to use === rather than == Parameters $state Returns null
active() active( $state = TRUE) : null Make Unit testing active Enables/disables unit testing Parameters $state Returns null
result() result( $results = array()) : array Result Array Returns the raw result data Parameters $results Returns array
set_template() set_template( $template) : void Set the template This lets us set the template to be used to display results Parameters $template
_backtrace() _backtrace() : array Generate a backtrace This lets us show file names and line numbers Returns array
_parse_template() _parse_template() : void Parse Template Harvests the data within the template {pseudo-variables}