News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Elizabeth Smith's Blog:
Hey, Code Coverage on Windows!
0 comments :: posted Tuesday January 29, 2008 @ 09:35:00
voice your opinion now!

Elizabeth Smith has posted about a new toy she received from the folks at Microsoft that adds in a missing piece of development functionality on Windows - code coverage and testing.

So this evening I managed to get PHPT running my tests (they're just basic .phpt tests but run-tests is..well flakey is a nice description some days) for my winapi php extension wrapped inside a "generic test" for Visual Studio. [...] So what did all this accomplish? I now can run my phpt tests through visual studio and collect code coverage on what they’re testing. Like GCOV, only for windows.

She's also included a screenshot of what the interface and results of the testing look like in the latest Visual Studio tool.

tagged with: visualstudio codecoverage phpt unittest msdn


Etienne Kneuss' Blog:
PHPT Generator used to discover documentation problems
0 comments :: posted Thursday December 07, 2006 @ 16:08:25
voice your opinion now!

Etienne Kneuss has an update on the PHPT Generator project posted to his blog, mentioning specifically how it was used to discover documentation problems in the generated phpt files.

The main use of those phpt files was to have an easy way to check examples used in the documentation. Along with a php script analyzing the results and Hannes' great testing environment, I was able to generate a summary of the examples failing.

The results show that over 50% of the documents passed the test, with the rest split between failing because of missing extensions (9%) and because of an error in the example (41%).

tagged with: phpt generator documentation problem locate results phpt generator documentation problem locate results


PHP5 application cakephp book package zend conference security PEAR framework code releases job mysql zendframework ajax developer release pecl database

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework