Skip to main content

Hello, 

 

I'm getting multiple errors, 209 errors to be exact,  while deploying a profile between two sandboxes.  They all seem to be related to Apex classes in our org.  This is the VSC command I'm using: 

 

sf project deploy validate --source-dir force-app/main/default -l RunLocalTests --target-org "TEST"

 

At the Deployment Status window there is mention of a new, in beta

 RunRelevantTests

 test runtime.  Can I use this to bypass all these other tests/errors?  How do I update my command to use this new test? 

  

Run Relevant Apex Tests in a Deployment (Beta) | Metadata API Developer Guide | Salesforce Developers

 

Thank you! 

Multiple errors during deployment of profile using VSC

 

#Salesforce Developer

답변 10개
0/9000