We're looking at activating the setting to deploy active processes and flows using the Metadata API.
When looking at the requirements, Winter 19 release notes says:
When you deploy an active process or flow in a production org, Salesforce runs your org’s Apex tests and confirms that enough of your processes and flows have test coverage. Specifically, the Apex tests must launch at least 75% of the total number of active processes and active autolaunched flows in your org
If I had 100 active process builders in an org:
- Is the requirement that I have apex test methods that launch 75 of them (could cover only 10% of each of them individually)
- Is the requirement that every active process builder has coverage for 75% of their individual elements which you can query through FlowTestCoverage.