norcross/schema-creator — pull request #50 by Derkje-J (2013-02-19 01:44:00+00:00)
Title: Unit Tests

The class is unit tested on options, adding css, display attribution, displaying the metabox, adding body class, adding itemscope.

The only unit test 'missing' is the schema_shortcode one. One could be added for each and every option there is and I recommend that to be added, but for the outstanding pull request not important.

1. To run requires PHPUnit
2. WordPress-tests
3. nh testcase class (link in test file)
4. copy bootstrap.template.php to bootstrap.php and set the path

Currently runs all tests at 100%.

Tests could be added to:
- Test permissions
- Test shortcode processing
- Media button insertion