-
Notifications
You must be signed in to change notification settings - Fork 1
[WIP] Bootstrap Test Suites for Central Hub plugin #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
| * License URI: https://www.gnu.org/licenses/gpl-2.0.html | ||
| * Text Domain: central_hub | ||
| * Requires WP: 4.8 | ||
| * Requires PHP: 5.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rgadon107 I fixed the plugin's file header here as the formatting was off.
| } | ||
| } | ||
|
|
||
| autoload(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added empty line at the end of the PHP file, as this will be required for WPCS, i.e. once we add the code validators/sniffers.
| colors="true" | ||
| verbose="true"> | ||
| <testsuites> | ||
| <testsuite name="unit"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This XML file is for the unit tests. It's in the root of the plugin.
Adds the following:
Unit Tests: runs the plugin by itself without WordPress and any other plugin.
Integration Tests: runs WordPress, the theme, and the plugin, i.e. to test the plugin in an integrated environment.