Solar_Test_Suite::run()
Runs the test suite (or the sub-test series) and logs as it goes.
Parameters
(string)
$class: Run only this test class series. If empty, will run all test classes.(string)
$method: Run only this test method in the test class series. If empty, will run all test methods.(bool)
$only: Run only the name class, or named class and method, instead of descending into sub-tests.
Returns
(array) A statistics array.
Description
Runs the test suite (or the sub-test series) and logs as it goes.
Returns an array of statistics with these keys ...
-
plan -
(int) The planned number of tests.
-
done -
(int) The number of tests actually done.
-
time -
(int) The time, in seconds, it took to run all tests.
-
pass -
(array) Log of tests that passed.
-
skip -
(array) Log of tests that were skipped.
-
todo -
(array) Log of tests that are incomplete.
-
fail -
(array) Log of tests that failed.