Skip to content

Example code for the WordCamp presentation about testing WordPress plugins.

Notifications You must be signed in to change notification settings

behzod/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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published