oik-batch v0.9.3 supports in situ PHPUnit testing for WordPress MultiSite.
oik-phpunit.php
oik-batch now delivers the oik-phpunit.php file. It accepts parameters used by oik-wp to select the WordPress MultiSite instance to be used for testing and passes these secretly to the PHPUnit bootstrap function, hiding them from PHPUnit code. It is a super routine to PHPUnit and oik-wp.php.
Changes
Change | Reference |
---|---|
Added: oik-phpunit.php to support in situ PHPUnit testing for WordPress Multisite | bobbingwide/oik-batch#9 |
Tested: With WordPress 4.8.3, WordPress 4.9-RC2 and WordPress MultiSite | |
Tested: With PHP 7.0 and PHP 7.1 |