A Travis CI compatible unit testing for WordPress plugins that utilizes the WordPress core unit testing framework and PHPUnit
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
.travis.yml
old-readme.md
readme.md

readme.md

DEPRECATED

This way of setting up plugin unit tests is deprecated.

Use the wp scaffold plugin-tests command from WP-CLI to create all the needed files automatically.

If you can't use WP-CLI, just copy the files from the sample plugin.