On Friday 24 October 2014 06:49:59 Christian Weiske wrote: > Hello, > > > Is it possible to run the unit tests for my owncloud app on several > database systems, locally (at least MySQL, PostgreSQL, SQLite)? > > How would I go about that? I saw that the owncloud travis configuration > already uses different dbms, but how can I do that within my app's > test locally?
You can change the config directory used by the unit tests by setting the CONFIG_DIR enviroment variable. If you IDE support using alternate phpunit config files for different test profiles you can create custom phpunit.xml[1] files to load the different configurations [1]: https://gist.github.com/icewind1991/cbf57db50f99e4a2bc36 - Robin Appelman _______________________________________________ Devel mailing list [email protected] http://mailman.owncloud.org/mailman/listinfo/devel
