Skip to content

jessgeekz/unit-tested-plugin-demo

 
 

Repository files navigation

Unit Tested WordPress Plugin Demo Build Status

Example code for the WordCamp presentation about testing WordPress plugins.

Demonstrates using PHPUnit for testing the PHP code of a WordPress plugin. It has sample unit and integration tests under the tests folder.

Initial code is scaffolding using WP-CLI command:

wp scaffold plugin unit-tested-plugin-demo --plugin_name="Unit Tested Plugin Demo" 

Note: This plugin is created for educational purposes only and it does not provide any useful functionality.

About

Example code for the WordCamp presentation about testing WordPress plugins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 46.1%
  • PHP 43.0%
  • JavaScript 10.9%