Contributing tests
| From: | Zoe Slattery | Date: | Thu, 23 Nov 2006 11:29:02 +0000 |
| Subject: | Contributing tests | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-26954@lists.php.net to get a copy of this message | ||
Hi
I'm interested in understanding more about testing PHP and I'm new to this so I have a couple of questions that I'm hoping that someone on this list can answer.
To start to learn about the test framework I chose the test case for levenshtein.c
and modified it to get closer to complete coverage - gcov shows 92.5%
on my system.
My first problem was that my modified test case exposed a fairly trivial
problem in the leveshtein.c code - the error handling was not quite right. I raised a defect (39559) for this and it's been fixed (thanks!!)
The next problem is should I submit the modified test case? And, if so how? Is it just as simple as raising another defect? If so - what category (I can't see either tests or QA)? Is the process the same for entirely new test cases?
Thanks, Zoe