logo       

Zend_Test, PHPUnit & option --coverage-html: msg#00112

php.zend.framework.mvc

Subject: Zend_Test, PHPUnit & option --coverage-html

Hi,

When I realize a suite of test with generating of coverage report ('phpunit --verbose --coverage-html ./rapport AllTests'), I have an exception in method __set() of Zend_Test_PHPUnit_ControllerTestCase. I need to disable the 2 tests (not simply one) in the function to be able to have my report.

I use:
- ZF (SVN 10221)
- PHPUnit 3.2.21
- error_reporting(E_ALL)

For the first test, I haven't any information just a break of the program.

For the second test, I have for example "Zend_Exception: Overloading of non-public properties is prohibited" with $name='__liHtml'.

Mickael.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise