Re: TestFest, which tests to focus on?
| From: | Lukas Kahwe Smith | Date: | Thu, 17 Apr 2008 22:13:00 +0000 |
| Subject: | Re: TestFest, which tests to focus on? | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-64213@lists.php.net to get a copy of this message | ||
On 17.04.2008, at 02:03, Tom Melendez wrote:
So, looking here: http://gcov.php.net/PHP_5_3/lcov_html/ It seems that I would probably want to focus on something with the least coverage (in red), correct? So, if I were to pick the ldap extension, for example:Right, if you are organizing a testfest, I would carefully choose which extensions to focus on. Especially extensions which will need non PHP infrastructure setup as well might need additional work before the testfest event. That being said, those willing to spend the necessary time to setup the infrastructure will do us a great service, since these areas are less likely to have other people working on them.
The code that does not get covered (very cool, btw). So, is there a way that I can check to see if my test really does cover that code before submitting it for review? I'm assuming the answer is no. :-)No, but at least you see which parts are not executed. So with some basic knowledge of C you should be able to figure out what PHP functions to call to get those parts executed. As you can see from the front page, the actual test runs take quite a lot of time to run. regards, Lukas