A model that runs tests on the reports model, based on a special test-DSL. More...
Public Member Functions | |
__construct ($test_file) | |
Run new test file. | |
run_test_series () | |
Run the actual test file. | |
Data Fields | |
$test_file = false | |
The file name we're testing. | |
$description = false | |
A string describing the purpose of this test. | |
$sub_reports = 0 | |
The number of sub reports. | |
$db_name | |
Database name. | |
$db_user | |
Database user. | |
$db_pass | |
Database password. | |
$db_type | |
Database type. | |
$db_host | |
Database hostname. | |
$importer | |
The command used to import logs into the database. |
A model that runs tests on the reports model, based on a special test-DSL.
Inherits from Reports_Model for "dammit, it's protected!" reasons
Ninja_Reports_Test::__construct | ( | $ | test_file | ) |
Run new test file.
Will parse the file, but not run it