[Koha-devel] Test suite in t/db_dependent/lib/KohaTest

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Wed Jul 3 15:53:48 CEST 2013


Hi,



My question about the files in the mentioned folder is: Is anyone using these test units at all? Could we delete them?



Note that Jenkins appears not to run t/db_dependent/database_dependent.pl but only the *.t files.

The script database_dependent.pl only refers to lib/KohaTest.pm and all unit tests in lib/KohaTest.



commit 80568463eac45ede97268c02ee7d59028cb3ff9b introduced t/database_dependent.pl (2008)
commit eff21765f9784e09905042dd7080cbef099306d9 moved it to t/db_dependent/



Note also that it needs two additional cpan modules: Test::Class and Test::Class::Load



Currently, we are often updating files in this directory. We are finding them with grep etc. and we update them. But if no one is using them, we could better remove them and have less maintenance issues.



Before opening a report with a "large delete" patch, just asking around here. Please respond if you know that they are in use!



Thanks,

Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20130703/40f3119c/attachment.html>


More information about the Koha-devel mailing list