Is your feature request related to a problem? Please describe.
Im trying to run test suites when running sfdx force:source:deploy. I can do it by myself querying ApexTestSuite and TestSuiteMembership to generate a list of apex test classes, but it would nice to have this available by default in sfdx.
At the moment only sfdx force:apex:test:run supports a list of test suites. This command has a flag called -s | --suite-names which accepts Comma-separated list of Apex test suite names to run; default is all suites
What are you trying to do
Execute tests using test suites when running sfdx force:source:deploy
Describe the solution you'd like
sfdx force:source:deploy --test-suites test_suite_1,test_suite_2,test_suite_3
Describe alternatives you've considered
convert test suites to a a list of apex tests classes, and then pass this list to the -r flag in sfdx force:source:deploy
Additional context
N/A
Is your feature request related to a problem? Please describe.
Im trying to run test suites when running sfdx force:source:deploy. I can do it by myself querying ApexTestSuite and TestSuiteMembership to generate a list of apex test classes, but it would nice to have this available by default in sfdx.
At the moment only
sfdx force:apex:test:runsupports a list of test suites. This command has a flag called-s | --suite-nameswhich acceptsComma-separated list of Apex test suite names to run; default is all suitesWhat are you trying to do
Execute tests using test suites when running
sfdx force:source:deployDescribe the solution you'd like
sfdx force:source:deploy --test-suites test_suite_1,test_suite_2,test_suite_3Describe alternatives you've considered
convert test suites to a a list of apex tests classes, and then pass this list to the
-rflag insfdx force:source:deployAdditional context
N/A