A demo project to demonstrate writing testable WordPress plugin code
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
src
tests
.gitignore
composer.json
hello-testable.php
phpunit.xml
readme.txt

readme.txt

=== Hello Dolly ===
Contributors: eriktorsner
Requires at least: 4.7
Tested up to: 4.7.3

This is not a plugin, it's just here as an example of how to write a testable WordPress plugin

== Description ==

The most joy you will ever get from this is to run the tests:

1. Check out the code
2. Run composer update
3. Run vendor/bin/phpunit

(assuming you have composer on your system)