benbalter/wordpress-plugin-tests — pull request #2 by johnpbloch (2012-07-01 13:52:08+00:00)
Title: Phpunit Integration

Here are the changes I made to the master branch to get it working with Nikolay's framework and Travis CI.

In addition to tweaking the yaml file, I added a few files to the tests directory as some starter files. These include a bootstrap file, a PHPUnit XML config file (which PHPUnit will automatically find and use, which in turn will make it use the bootstrap file), and a test suite file where all tests should be loaded.

This makes a fairly fragile web of files, as one change can crash the whole thing. For example, omitting or renaming `phpunit.xml` would stop the entire environment from loading unless they also added either `--configuration newfile.xml` or `--bootstrap bootstrap.php` to the command in the yaml file.