nextcloud/tests/acceptance/features/core
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
..
Actor.php Store the name of the actor in the Actor object 2018-03-09 03:37:08 +01:00
ActorAware.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
ActorAwareInterface.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
ActorContext.php Store the name of the actor in the Actor object 2018-03-09 03:37:08 +01:00
ElementFinder.php Add automatic handling of common command failures of Mink elements 2017-05-06 12:37:55 +02:00
ElementWrapper.php Header acceptance features 2018-03-09 14:33:22 +01:00
Locator.php Replace "named" Mink selectors with "named_exact" Mink selectors 2017-05-02 15:09:38 +02:00
NextcloudTestServerContext.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
NextcloudTestServerHelper.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
NextcloudTestServerLocalApacheHelper.php Add helper to run acceptance tests on an Apache server 2018-04-09 21:50:30 +02:00
NextcloudTestServerLocalHelper.php Make possible to configure the domain for the Nextcloud test server 2017-07-20 07:50:33 +02:00
NoSuchElementException.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
Utils.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00