For Programmers: Free Programming Magazines  


Home > Archive > PHP Questions and Answers > November 2006 > Contributing tests









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Contributing tests
Zoe Slattery

2006-11-23, 7:57 am

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com