Test for Search.pm

Frédéric Buclin lpsolit at gmail.com
Sun Mar 1 17:43:04 UTC 2009


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

LpSolit



More information about the developers mailing list