planemo
planemo copied to clipboard
Implement planemo test --number 2
If you change one specific test, you want to only run that one specific tests, not all of them
this might be the same feature as @jmchilton meant with https://github.com/galaxyproject/planemo/issues/257 We need more description from @jmchilton before we can decide though.
This (#262) is picking tests by their index, e.g. the third test.
But #257 was just testing tests added since the last time any tests were run.
Yeah - I think this is actually even better than --new - given that any implementation of --new would be a little hacky.
Choosing to run tests by number would be great! At the moment I work around it by copy/pasting out all the tests, adding in the new test (or tests I want to run), then once I've got the test(s) of interest working, copy/pasting back in the other tests.
For this particular pattern you could also use --failed, but I agree that would be good.
This would help with https://github.com/galaxyproject/galaxy-language-server/issues/159. Some of the other testing scripts (galaxy-tool-tests from galaxy-tool-util) and planemo itself (via the failed tests option) support this, this would probably not be a large change.
Might this also be useful for balancing CI chunking even more: https://github.com/galaxyproject/tools-iuc/issues/2959?