Sample WordPress plugin to illustrate unit tests
PHP Shell
Latest commit c9bd6e0 Jan 25, 2015 @ozh typo here, typo there
Permalink
Failed to load latest commit information.
bin
tests
.gitattributes
.gitignore
.travis.yml
README.md
ozh-demo-plugin-for-unit-tests.php
phpunit-coverage.xml
phpunit.xml

README.md

WordCamp Paris 2015 : Unit Testing your WordPress plugins

wordpress-plugin-unit-tests-fr-wordcamp-paris-2015

This plugin is a demo made for my talk at WordCamp Paris 2015 about unit testing your WordPress plugins.

Link to my slides: http://slideshare.net/ozh/wordpress-plugin-unit-tests-fr-wordcamp-paris-2015 (in French)

The presentation is rather huge (100 slides) and I didn't show all the slides but I thought it would be interesting anyway to leave all the material available. Most slides should be mostly self explanatory.

Tests are failing on Travis with WP 3.8 (the defaut environment matrix generated by WP-CLI) and left as-is as an example.

Link to a series of blog post: {tba}