Coerce run specific tests when package only has test classes
If the deployment package (especially if target is PROD) contains ONLY Apex classes annotated as @IsTest, then coerce (w/ user confirmation) the deployment to just run those test classes.
This helps avoid errantly clicking the default Deploy and waiting 20-30 minutes for all tests to run. If only test classes are being deployed, by definition, the underlying code hasn't changed and all tests DON'T need to be rerun.
1
vote
