Test for Search.pm

Michael Leupold lemma at confuego.org
Sun Mar 1 18:55:48 UTC 2009


On Sunday 01 March 2009 18:43:04 Frédéric Buclin wrote:
> Le 28. 02. 09 18:46, Michael Leupold a écrit :
> > I think unit tests would be more appropriate. Looking at buglist.cgi it
> > should be possible to just create Bugzilla::Search objects and get the
> > resulting sql for comparison using Bugzilla::Search::getSQL().
>
>  From a QA point of view, I don't care about the SQL query returned by
> Search.pm. I'm much more interested in the list of bugs returned by
> buglist.cgi. So I'm more interested in improving our existing
> test_search.t Selenium script, see
>    http://landfill.bugzilla.org/bugzillaqa/show_bug.cgi?id=3103
>
> But you are free to write your own unit test. :)

Thanks for the pointer. I wasn't aware of those tests at all. So of course 
improving what's there makes more sense :)

Regards,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20090301/a7023311/attachment.sig>


More information about the developers mailing list