Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test units that apply to modules spread over multiple distributions #290

Open
carandraug opened this issue Sep 28, 2018 · 0 comments
Open

Comments

@carandraug
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant