[owncloud-devel] Further updated app testing requirements

Robin McCorkell rmccorkell at owncloud.com
Tue Sep 8 11:53:39 GMT 2015

To all app developers,

There has been some more improvements to the autoloader, increasing
security by preventing disabled or unloaded app code being executed.
Unfortunately, this has had the side effect of requiring extra bootstrap
steps for app tests.

If you are using the (recommended) core unit test bootstrap in
tests/bootstrap.php, you need to do nothing more, other than making sure
you enable your app before you run tests against it. Otherwise, if you
use your own test bootstrap, you must ensure that either your app is
loaded. This can be done with the following line:


Robin McCorkell

More information about the Devel mailing list