You need to sign in to do that
Don't have an account?
BHASKAR GANGULY
test classes run on destination org
HI,
I have a generic question arround running apex test classes before deploying to destination org.
I am running salesforce CLI command sfdx force:apex:test:run.
my question is how to run the test classes present in source folder before deploying that in destination org.
if a certain test class in not present in destination org will that fail?
if i am running the following command
sfdx force:apex:test:run -l RunLocalTests -d <path to outputdir> -u me@my.org
its running for all the test classes that is present in that destination org.
Please suggest.
Thanks,
Bhaskar
I have a generic question arround running apex test classes before deploying to destination org.
I am running salesforce CLI command sfdx force:apex:test:run.
my question is how to run the test classes present in source folder before deploying that in destination org.
if a certain test class in not present in destination org will that fail?
if i am running the following command
sfdx force:apex:test:run -l RunLocalTests -d <path to outputdir> -u me@my.org
its running for all the test classes that is present in that destination org.
Please suggest.
Thanks,
Bhaskar