|
PHPUnit and TDD |
|
FYI, phpUnit integration is already here: http://www.nusphere.com/products/php_testing_phpunit.htm
|
||||||||||||
|
|
well, looks like there is still no code coverage support in PHPEd?
Atleast i couldn't find anything, and editing the phpunit.xml to add code-coverage didn't work either. So is the phpUnit/code-coverage feature in PHPEd still missing ? |
||||||||||||
|
|
himmelweiss, I also wrote such FR: http://forum.nusphere.com/php-codecoverage-for-phpunit-and-dbg-php-t8954.html.
We can't wait years, so I used workaround: alternative php.ini. Default php.ini loads nuspheres php-dbg, alternative loads universal xdebug. I made a script phpunit-cc which runs php -c /usr/local/etc/php-xdebug.ini /usr/local/bin/phpunit --coverage-html tests/report/ $* (on linux, similar can be achieved on windows using .bat). Best regards, Bostjan |
||||||||||||
|
|
well, that's sad...
And they write on their homepage that PHPUnit is seamless integrated? Half of the config settings for the phpunit.xml do not work :/ Thanks for your reply bzoks, but that's no solution for our office here. As you wrote, it is quite impractical. |
||||||||||||
|
PHPUnit and TDD |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by