[eluser]TaylorOtwell[/eluser]
I am running CodeIgniter 2.0 and I have the following code in the index function of a controller that runs my unit tests.
Code:
$this->unit->set_test_items(array('test_name', 'result'));
$this->_test_user_lib();
$this->_test_user_model();
echo $this->unit->report();
This doesn't effect the output the report. The report still shows all of the possible items (filename, line number, etc.) Am I doing it wrong?
I even did a var_dump() in the "report" method of the unit test library and the array is of visible items is being set correctly, but still no change to the report.
Any help is greatly appreciated. I feel like I'm missing something obvious!