sfdx force:apex:test:report

Display test results for a specific asynchronous test run

Options

NameDescription
--jsonFormat output as JSON
--loglevel <loglevel>[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log
-u, --targetusername <targetusername>Username or alias for the target org; overrides default target org
--apiversion <apiversion>Override the api version used for api requests made by this command
-i, --testrunid <testrunid>The ID of the test run
-c, --codecoverageRetrieves code coverage results
-d, --outputdir <outputdir>Directory to store test result files
-r, --resultformat <resultformat>Permissible values are: human, tap, junit, json
-w, --wait <wait>Sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently
--verboseDisplay Apex test processing details; if JSON is specified, processing details aren't displayed