\Unit_tests

Unit testing driver.

This driver handles all the unit testing of the application. Custom methods (test categories) can be created in order to use different test groups on each testing

Summary

Methods
Properties
Constants
__construct()
run_all_tests()
run_model_tests()
run_library_tests()
$CI
$valid_drivers
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$CI

$CI : 

Type

$valid_drivers

$valid_drivers : 

Type

Methods

__construct()

__construct() 

Class Constructor

run_all_tests()

run_all_tests() 

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.

run_model_tests()

run_model_tests(boolean  $output_report = true) 

Run all the models tests.

Parameters

boolean $output_report

Determines wether the test report will be outputted.

run_library_tests()

run_library_tests(boolean  $output_report = true) 

Run all the library tests.

Parameters

boolean $output_report

Determines wether the test report will be outputted.