I've created my test suite and trying to run using sfdx command. this way, i'm getting error while running below command
test file
<?xml version="1.0" encoding="UTF-8"?> <ApexTestSuite xmlns="http://soap.sforce.com/2006/04/metadata"> <testClassName>box.BoxAuthResponseTests</testClassName> <testClassName>box.BoxBase64Tests</testClassName> <testClassName>BoxPlatformTests</testClassName> <testClassName>BoxWebLinkTests</testClassName> </ApexTestSuite> Command:
sfdx force:apex:test:run -s "force-app/main/default/testSuites/vinay.testSuite-meta.xml" -c -v --json Error :
{ "status": 1, "name": "Error", "message": "Select a result format when specifying code coverage", "exitCode": 1, "commandName": "Run", "stack": "Error: Select a result format when specifying code coverage\n at Run.<anonymous>