2008年7月20日星期日

[fw-mvc] Re: Zend_Test, PHPUnit & option --coverage-html

-- mikaelkael <perraud.mickael@orange.fr> 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).

--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/

没有评论: