planemo icon indicating copy to clipboard operation
planemo copied to clipboard

Implement planemo test --number 2

Open frederikcoppens opened this issue 10 years ago • 7 comments

If you change one specific test, you want to only run that one specific tests, not all of them

frederikcoppens avatar Jul 06 '15 17:07 frederikcoppens

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.

martenson avatar Jul 06 '15 18:07 martenson

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.

peterjc avatar Jul 06 '15 18:07 peterjc

Yeah - I think this is actually even better than --new - given that any implementation of --new would be a little hacky.

jmchilton avatar Jul 07 '15 22:07 jmchilton

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.

mblue9 avatar Aug 14 '18 00:08 mblue9

For this particular pattern you could also use --failed, but I agree that would be good.

mvdbeek avatar Aug 14 '18 06:08 mvdbeek

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.

mvdbeek avatar Jul 09 '21 09:07 mvdbeek

Might this also be useful for balancing CI chunking even more: https://github.com/galaxyproject/tools-iuc/issues/2959?

bernt-matthias avatar Jul 14 '21 17:07 bernt-matthias