Deployment - Run Specified Tests
Hello,
I have an org with a large amount of tests, and I prefer to deploy using the "Run Specified Tests" option. I don't see where this is currently an option.
Thanks,
Mike
Comments (11)
-
repo owner -
repo owner Ugh...I just noticed the most important word here..."deploy". You're asking for the ability to say that a deployment process should run tests, not for ad hoc test runs. I won't resolve this as it's a proper enhancement. Sorry for misunderstanding it on my first pass!
-
reporter Np, thanks for the quick reply. None of the other IDEs feature this either, so it would just be really nice to have. Only alternative at the moment is using Ant.
Thanks!
-
repo owner - changed component to Deployment and Retrieval
- removed version
-
This is a huge feature for my day to day work scenario. Would be awesome if when you do this, you can select to include or not managed packages tests in a easy way. Also, since you will be working on the Deployment UI, maybe you can add Validate capabilities!
Thanks!
-
repo owner Issue
#779was marked as a duplicate of this issue. -
Account Deactivated I would also love this feature!
-
Hi Scott, is this feature still on the roadmap?
-
repo owner Yes, absolutely, and it should be coming up relatively soon. Here's the working backlog for reference:
https://bitbucket.org/RoseSilverSoftware/illuminatedcloud/wiki/Home
-
repo owner - changed status to resolved
Another one that's been a LONG time coming, but delivered in 2.0.8.6.
-
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment
Mike, you can set up Apex unit test run configurations with any subset of test classes and/or methods that you'd like. You do need to have the classes present in the local file system as it uses local files to determine what's available to run.
There are two ways to create a new test configuration: 1) under Run>Edit Configurations followed by +>Apex Unit Tests; 2) by right-clicking on a test class or method to run just that selection. The latter already runs the specified tests. In the former you can use the checkbox tree to select what you want to run.
Please let me know if this doesn't provide what you need. I'm going to resolve this issue for now assuming that it will, but feel free to reopen it with details on what's missing if it doesn't.