Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Elizabeth Smith's Blog:
Hey, Code Coverage on Windows!
Jan 29, 2008 @ 15:35:00

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: visualstudio codecoverage phpt unittest msdn

Link:


Trending Topics: