githubsfdeploy icon indicating copy to clipboard operation
githubsfdeploy copied to clipboard

Select Tests instead of All Org Tests being run

Open datapharmer opened this issue 6 years ago • 5 comments

There should be an option to run only tests from github or only selected tests instead of running all tests in the org.

datapharmer avatar Jun 01 '18 13:06 datapharmer

Interesting... so its running all unmanaged tests in the org and not just the repo tests? If so, that should be any easy fix as i think there is now a header option to run only the deployed tests.

afawcett avatar Jun 24 '18 06:06 afawcett

Correct, that was my experience. Adding the header option would certainly be useful.

datapharmer avatar Jun 25 '18 03:06 datapharmer

Can you folks give me more info about the header option and how it is used, I am trying to deploy this package to prod - https://github.com/jongpie/ApexUuid and it is running all the unit tests (others which break) are failing the deployment.

jnylund avatar Feb 10 '20 21:02 jnylund

@jnylund this is a code change to the tool that is needed, its not something you can effect, sorry.

afawcett avatar Apr 06 '20 22:04 afawcett

I would also find this useful. We have some managed packages in our org whose tests are incompatible with having Country/State Picklists enabled. Since we have this enabled in our org, and it's not something you want to quickly toggle off for deployment, selecting tests to run, so we can avoid those ones running during deployment with this tool would be very useful.

Garywoo avatar Jul 13 '21 16:07 Garywoo