Test coverage is 18.4%

Joel Peshkin bugreport at peshkin.net
Mon Feb 15 15:19:27 UTC 2010


The 18.4% number seems to refer to the t/ tests.   I think, if we are 
serious about this, we need to start by creating a mechanism in the t/ 
tests to have it use a test database.  So, you do the following...

perl Makefile.PL --db_server=localhost --db=bztest --db_user=foo 
--db_passwd=bar
make test

and the tests create their own databases, preloading them with data, and 
run.

Naturally, this also means that we need to figure out how to do the 
equivalent of the selenium tests in a way that won't break all of the 
tests every time a trivial change is made in a template.

-Joel




More information about the developers mailing list