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
- Run Apex tests on methods specified using the standard Class.method notation; if you specify a test class without a method, the command runs all methods in the class:
Apex test class names to run; default is all classes.
@@ -80,9 +105,9 @@ Level of tests to run; default is RunLocalTests.
80
105
81
106
Here's what the levels mean:
82
107
83
-
- RunSpecifiedTests — Only the tests that you specify are run.
84
-
- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed packages.
85
-
- RunAllTestsInOrg — All tests are in your org and in installed managed packages are run
108
+
- RunSpecifiedTests — Only the tests that you specify in the runTests option are run. Code coverage requirements differ from the default coverage requirements when using this test level. The executed tests must cover each class and trigger in the deployment package for a minimum of 75% code coverage. This coverage is computed for each class and triggers individually, and is different than the overall coverage percentage.
109
+
- RunLocalTests — All local tests in your org, including tests that originate from no-namespaced unlocked packages, are run. The tests that originate from installed managed packages and namespaced unlocked packages aren't run. This test level is the default for production deployments that include Apex classes or triggers.
110
+
- RunAllTestsInOrg — All tests are run. The tests include all tests in your org.
0 commit comments