Open nilsoberg opened 2 months ago
This could be solved by #65, but this issue solves a much simpler problem and is a stop-gap solution for more comprehensive testing.
I suggest closing this issue because #85 has solved part of this problem. All tests should be specified in the modules
directory, and if they are not to be run they can temporarily be moved to the modules/disabled
directory (i.e. if only a specific test needs to be run). This is a basic approach to testing but it works for now. @1ndy
In an automated testing scenario, moving files in and out of directories would add complexity. Being able to disable tests with flags or a config file would make it easier to run in a CI/CD pipeline. I know that isn't a goal right now so this is fine to use but maybe some thorough documentation of that strategy can be added in this issue?
In an automated testing scenario, moving files in and out of directories would add complexity. Being able to disable tests with flags or a config file would make it easier to run in a CI/CD pipeline. I know that isn't a goal right now so this is fine to use but maybe some thorough documentation of that strategy can be added in this issue?
You mean document the proposed approach in the issue or something for the future?
Use this issue to create a branch in which you update the documentation to describe how tests can be disabled.
Allow different test configurations to be run. The motivation is to support testing multiple import modes. For example:
bash tests/runtests.sh docker.config basic
would run the most basic import testsbash tests/runtests.sh docker.config uniref90
would run the import tests using UniRef90 sequencesbash tests/runtests.sh docker.config uniref90_no_frac
would run the import tests using UniRef90 sequences plus the no-fraction import optionIt is proposed to have directories under
tests/modules
that represent the new test case parameter (e.g.basic
,uniref90
,uniref90_no_frac
).