Flow Test Coverage and Flow Coverage Warning
Issue #1156
new
With Winter 19 release of Salesforce, flow coverage is now available https://releasenotes.docs.salesforce.com/en-us/winter19/release-notes/rn_forcecom_flow_test_coverage.htm
Would be useful to have atleast a listing of percentage of flows covered by tests and which flows are not covered. https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_flowtestcoverage.htm
Tooling API SOQL for Flows Not covered as per above link:
SELECT Definition.DeveloperName
FROM Flow
WHERE Status = 'Active'
AND (ProcessType = 'AutolaunchedFlow' OR ProcessType = 'Workflow' OR ProcessType = 'CustomEvent' OR ProcessType = 'InvocableProcess')
AND Id NOT IN (SELECT FlowVersionId FROM FlowTestCoverage)
Comments (3)
-
-
repo owner - removed version
- changed component to Other Editor
-
repo owner - changed component to Flow Editor
- Log in to comment
This would be neat to see the flow coverage percentage’s listed next to flow file names like we see next to apex classes in the file editor after running tests with code coverage.