-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow project delete source to run specific tests #2175
Comments
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments. |
This issue has been linked to a new work item: W-13510661 |
Couldn't this be done with |
Yes, that is on the workaround section. So, yep but it means crafting a package while the delete could be easier. |
This is now in the latest CLIs: sfdx 7.208.10 / sf 1.85.8 |
Is your feature request related to a problem? Please describe.
Destructive changes are usually laser-focused, and sometimes they are needed as a second or even third step to clean-up, given the need first to remove the references, sometimes not working as
--post-destructive-changes
.This is related to #971 (thanks a lot for adding this).
What are you trying to do
I want to be able to run a deletion and specify the tests to be executed. Example: I may want to delete one class and run a set of unit tests instead of all of them. This enhancement can speed up destructive deployment with this command.
Describe the solution you'd like
Add the flag
--tests
and the valueRunSpecifiedTests
as a valid test level on flag--test-level
.Describe alternatives you've considered
The workaround is either to use
project deploy start
with--post-destructive-changes
or create a secondary package and run a separateproject deploy start
with a separate package and the targeted tests.The text was updated successfully, but these errors were encountered: