Test for Search.pm

Michael Leupold lemma at confuego.org
Sat Feb 28 17:46:42 UTC 2009


On Saturday 28 February 2009 18:05:43 Aaron Evans wrote:
> > with all the changes I recently did to Search.pm I figure it is pretty
> > hard to
> > find out if it's still behaving as it did before. As I didn't find any
> > automated test I wanted to ask if you think that's something worth
> > putting some effort into and if you have some ideas on how to construct
> > such a test.
> I've got some time and would like to help with this.  Do we want selenium
> tests or unit tests?

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().

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/20090228/cd0ebc92/attachment.sig>


More information about the developers mailing list