Best practice for PhpUnit tests for parts of a plugin
-
I’ve been working on a plugin, and I’ve used PhpUnit to do some test-driven development of some components for that plugin.
As a result, there are a couple of .php files with unit tests in them in my plugin source code in the WordPress plugin repo. These don’t get loaded or run in WordPress. (They amount to a couple of dozen kbytes.)
Is it OK to include these unit test files in the plugin that users download? Or, should I try to exclude them from the tagged version?
Thanks for any wisdom on this.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Best practice for PhpUnit tests for parts of a plugin’ is closed to new replies.