diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-11-14 13:06:59 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-17 23:50:35 +0300 |
commit | 7c1b9aedd528f70eeacbd846666e2f663198d808 (patch) | |
tree | 6f6ea77d95addd8d9418348e5ca51a11e08649aa /tests/phpunit-autotest-external.xml | |
parent | c20be2455995536e09bffca82bc37b41d5260cfe (diff) |
Setup a docker container that holds a webdav instance to test files_external
document docker parameter and use random host port
fix typo
copy autotest.sh to autotest-external.sh
adds ability to add start* and stop* scripts in env in external tests
run files_external WebDAV tests against ownCloud instance
introduce executor number to be able to shut down the correct docker container
fetch docker images in advance - this also fetches latest versions of the docker images
add second argument to autotest-external.sh which can specify a single test to run
print out the explicit test run
change naming schema of files_external setup scripts
Diffstat (limited to 'tests/phpunit-autotest-external.xml')
-rw-r--r-- | tests/phpunit-autotest-external.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/phpunit-autotest-external.xml b/tests/phpunit-autotest-external.xml new file mode 100644 index 00000000000..b9402bfa572 --- /dev/null +++ b/tests/phpunit-autotest-external.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8" ?> +<phpunit bootstrap="bootstrap.php" + strict="true" + verbose="true" + timeoutForSmallTests="900" + timeoutForMediumTests="900" + timeoutForLargeTests="900" +> + <testsuite name='ownCloud files external'> + <directory suffix=".php">../apps/files_external/tests</directory> + <!-- exclude backends as they are called separately --> + <exclude>../apps/files_external/tests/backends/</exclude> + </testsuite> + <!-- filters for code coverage --> + <filter> + <!-- whitelist processUncoveredFilesFromWhitelist="true" --> + <whitelist> + <file>../lib/private/files/storage/dav.php</file> + <directory suffix=".php">../apps/files_external</directory> + <exclude> + <directory suffix=".php">../apps/files_external/l10n</directory> + <directory suffix=".php">../apps/files_external/3rdparty</directory> + <directory suffix=".php">../apps/files_external/tests</directory> + </exclude> + </whitelist> + </filter> + <!--<listeners> + <listener class="StartSessionListener" file="startsessionlistener.php" /> + <listener class="TestCleanupListener" file="testcleanuplistener.php"> + <arguments> + <string>detail</string> + </arguments> + </listener> + </listeners>--> +</phpunit> + |