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

Jonathan Druart jonathan.druart at biblibre.com
Wed Jul 3 16:19:41 CEST 2013


Hi Marcel,

This question was in my todo list, thanks to ask :)
I have the same impression, these UT files are never used, but it is
possible I missed something.

Regards,
Jonathan

2013/7/3 Marcel de Rooy <M.de.Rooy at rijksmuseum.nl>:
> 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
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/


More information about the Koha-devel mailing list