You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running sf apex run test --synchronous -c should pass and not exit the shell.
Actual result
Running sf apex run test --synchronous -c throws the below error and exits the shell with code 1:
Error (1): Always provide a classes, suites, tests, or testLevel property.
Additional information
This is easy to recreate with a fresh project (sf project generate) and scratch org (sf org create scratch --set-default --definition-file config/project-scratch-def.json).
Expected result
Running
sf apex run test --synchronous -c
should pass and not exit the shell.Actual result
Running
sf apex run test --synchronous -c
throws the below error and exits the shell with code 1:Additional information
This is easy to recreate with a fresh project (
sf project generate
) and scratch org (sf org create scratch --set-default --definition-file config/project-scratch-def.json
).System Information
Diagnostics
✅ pass - salesforcedx plugin isn’t installed
❌ fail - you have at least one linked plugin
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - using latest or latest-rc CLI version
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - [@salesforce/plugin-deploy-retrieve] default target DevHub max apiVersion matches default target org max apiVersion
❌ warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches default target org max apiVersion
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
❌ fail - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - [@salesforce/plugin-auth] CLI using stable v1 crypto
The text was updated successfully, but these errors were encountered: