Closed michaelalber closed 13 years ago
What version of the project (branch/tag) are you running?
Master branch looks fine on Jenkins CI
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
I just did a manual build on Jenkins CI & all passed fine. Master branch is building with all tests passing, all tags will be fine too.l - ACL branch should be fine as well, however this currently has lower code coverage hence why it has not been tagged.
You need to supply more information.
Would it be useful to the project for me to supply a VM (kvm image) with everything setup - web app working, all tests passing, code coverage generation etc ?
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
It was a config setting I added to phpunit.xml,
Glad all is working now. I will close the ticket.
When I run phpunit I get an error when the code coverage data is being generated. Any suggestion?
$ phpunit PHPUnit 3.5.15 by Sebastian Bergmann.
..........................................
Time: 01:19, Memory: 19.75Mb
OK (42 tests, 20555 assertions)
Writing code coverage data to XML file, this may take a moment. Fatal error: Class 'Auth_BaseController' not found in /application/modules/auth/controllers/IndexController.php on line 11
Call Stack: 0.0005 630248 1. {main}() /usr/local/zend/bin/phpunit:0 0.0976 1120544 2. PHPUnit_TextUI_Command::main() /usr/local/zend/bin/phpunit:49 0.0977 1121160 3. PHPUnit_TextUI_Command->run() /usr/local/zend/share/pear/PHPUnit/TextUI/Command.php:129 2.8992 11112168 4. PHPUnit_TextUI_TestRunner->doRun() /usr/local/zend/share/pear/PHPUnit/TextUI/Command.php:188 79.2438 16243088 5. PHP_CodeCoverage_Report_Clover->process() /usr/local/zend/share/pear/PHPUnit/TextUI/TestRunner.php:326 79.2440 16244216 6. PHP_CodeCoverage->getSummary() /usr/local/zend/share/pear/PHP/CodeCoverage/Report/Clover.php:87 79.2440 16244216 7. PHP_CodeCoverage->processUncoveredFilesFromWhitelist() /usr/local/zend/share/pear/PHP/CodeCoverage.php:349 79.5894 17702152 8. include_once('/application/modules/auth/controllers/IndexController.php') /usr/local/zend/share/pear/PHP/CodeCoverage.php:592
Dump $_SERVER $_SERVER['REQUEST_METHOD'] is undefined $_SERVER['REQUEST_URI'] is undefined $_SERVER['HTTP_USER_AGENT'] is undefined Dump $_REQUEST