Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ozh/plugin-unit-test-demo
Sample WordPress plugin to illustrate unit tests
https://github.com/ozh/plugin-unit-test-demo
unit-test wordpress wordpress-plugin wordpress-plugins
Last synced: 3 months ago
JSON representation
Sample WordPress plugin to illustrate unit tests
- Host: GitHub
- URL: https://github.com/ozh/plugin-unit-test-demo
- Owner: ozh
- Created: 2015-01-16T15:40:44.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-25T18:25:10.000Z (almost 10 years ago)
- Last Synced: 2024-05-02T00:20:57.355Z (9 months ago)
- Topics: unit-test, wordpress, wordpress-plugin, wordpress-plugins
- Language: PHP
- Size: 238 KB
- Stars: 18
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WordCamp Paris 2015 : Unit Testing your WordPress plugins
[![wordpress-plugin-unit-tests-fr-wordcamp-paris-2015](https://cloud.githubusercontent.com/assets/223647/5892578/993e2554-a4c4-11e4-90ba-465beef4634d.jpg)](http://slideshare.net/ozh/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](https://travis-ci.org/ozh/plugin-unit-test-demo/) 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}*