← back to the release
new featureApex
Filter Test Discovery API Results with the testLevel Parameter
The Test Discovery API (GET /tooling/tests) gains a testLevel query parameter that replaces the deprecated showAllMethods parameter in API version 68.0 and later; showAllMethods still works in 67.0 and earlier. testLevel accepts RunAllTestsInOrg (default) or RunLocalTests (org namespace plus flow tests, excluding installed managed packages), aligning with the Test Runner API request body.
identifiers
Test Discovery APItestLevelshowAllMethodsRunLocalTestsRunAllTestsInOrg/tooling/tests
api versions
68.067.0
flags
enabled by defaultno action requiredmin api 68
- how
- GET /services/data/v68.0/tooling/tests?testLevel=RunLocalTests
- who
- when
- API version 68.0 and later.
- where
- Enterprise, Performance, Unlimited, and Developer editions.