bioperl-live icon indicating copy to clipboard operation
bioperl-live copied to clipboard

test units that apply to modules spread over multiple distributions

Open carandraug opened this issue 5 years ago • 0 comments

There are groups of modules that have groups of equal tests. For example, t/RemoteDB/SeqRead_fail.t has the same test units for a series of Bio::DB classes. Now that those classes are being split into different distributions, a solution is needed to avoid duplication of code.

If we copy the test to each distribution, then the code is duplicated and will eventually diverge. Not ideal.

If the tests are left in bioperl-live and we just skip those tests if the class is missing, then the tests will rarely be run since when bioperl-lvie is being installed, those other modules have not been installed yet. They would run during an upgrade of bioperl-live.

I think bioperl-live should instead have a Bio::Test namespace with those tests, which then individual distribution could use.

carandraug avatar Sep 28 '18 18:09 carandraug