CI =& get_instance(); // Add more subclasses to the following array to expand // the unit testing classes. $this->valid_drivers = array( 'Unit_tests_appointments_model' ); } /** * Run all the available tests of the system. * * If a new group of tests is added, it should be also added in * this method, in order to be executed when all the tests need to * be run. */ public function run_all_tests() { $this->run_model_tests(); $this->run_library_tests(); } /////////////////////////////////////////////////////////////////////////// // UNIT TEST GROUPS /////////////////////////////////////////////////////////////////////////// /** * Run all the models tests. */ public function run_model_tests() { $this->appointments_model->run_all(); } /** * Run all the library tests. */ public function run_library_tests() { } }