server/tests
Daniel Calviño Sánchez aa96dfd173 Add helper to run acceptance tests on an Apache server
The default and only helper to run acceptance tests run them on the PHP
built-in web server. This commit introduces a new helper that can be
used to run them on an Apache web server instead.

This helper is meant to be used by the acceptance tests of apps that
require a multi-threaded web server to run (like Talk, due to its use of
long polling). To use the helper it is only needed to set it in the
Behat configuration for the acceptance tests of the app, as explained in
the "NextcloudTestServerContext" documentation.

It is assumed that the acceptance tests are run using the default setup,
and therefore inside a Docker container based on the image for
acceptance tests from Nextcloud. Due to that the helper is expected to
have root permissions, and thus it starts and stops the Apache web
server directly using "service start/stop apache2". In the same way it
also restores the owner and group for "apps", "config" and "data" to
"www-data", as it is the user that Apache sub-processes are run as.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-09 21:50:30 +02:00
..
acceptance Add helper to run acceptance tests on an Apache server 2018-04-09 21:50:30 +02:00
apps Validate the info.xml against the appstore schema file 2018-02-16 10:23:51 +01:00
Core Fix tests 2018-04-06 19:58:37 +02:00
data Fix email buttons for white theme 2017-12-11 14:33:54 +01:00
docker Namespace and array syntax fixes 2017-03-19 14:52:54 -06:00
lib Fix tests 2018-04-04 12:50:54 +02:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +01:00
Settings Ping more privacy respecting organizations 2018-04-05 21:43:51 +02:00
travis Changed name of default logfile from owncloud.log to nextcloud.log. 2016-07-04 11:50:32 +02:00
apps.php Fix the tests again 2016-05-25 16:51:02 +02:00
bootstrap.php Require PHPUnit 6.5 or higher 2018-01-24 17:23:59 +01:00
drone-wait-objectstore.sh Kill objectstore CI if we can't create a file 2018-02-26 14:54:27 +01:00
enable_all.php Add tests 2018-01-25 13:44:47 +01:00
karma.config.js Add unit tests for the navigation bar slide gesture 2017-12-14 19:17:40 +01:00
phpunit-autotest-external.xml Adjust the phpunit config 2016-05-25 15:14:37 +02:00
phpunit-autotest.xml Add tests 2018-01-25 13:44:47 +01:00
preseed-config.php Use username + pass in config 2018-02-26 14:54:21 +01:00
redis-cluster.config.php Fix drone 2017-07-14 15:04:18 +02:00
redis.config.php Fix drone 2017-07-14 15:04:18 +02:00
startsessionlistener.php Require PHPUnit 6.5 or higher 2018-01-24 17:23:59 +01:00