PMC Plugin Unit Test Example
This plugin provide the standard base example on setting up the unit test for pmc plugin to implement 100% code coverage.
- The manifest file should only contains the plugin activation code and to be exclude from code coverage report.
- Do not use @codeCoverageIgnore
- Test code to verify plugin activation
- Use apply_filters & do_action to trigger plugin's implementation
- Trigger private function execution test via in-direct call/trigger