logo       

Re: Re: Zend_Test, PHPUnit & option --coverage-html: msg#00114

php.zend.framework.mvc

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

Matthew Weier O'Phinney a écrit :
-- mikaelkael <perraud.mickael-1tsiiZ//OF9QFI55V6+gNQ@xxxxxxxxxxxxxxxx> wrote
(on Sunday, 20 July 2008, 11:40 AM +0200):
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'.

I've modified the logic to allow properties beginning with double
underscores to be set (see r10242).

It's OK for the second test.
The break comes when I use external PHP code (PEAR/HTML_QuickForm) in one particular case (???).
I have multiple form but just one (login form) causes the break. I have no information (even with E_ALL | E_STRICT)
As my goal was to change for Zend_Form...

Thanks.




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

News | FAQ | advertise