diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2011-01-12 02:22:37 +0100 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2011-01-12 02:22:37 +0100 |
| commit | 42cf9a9895bf36ee6a0a1821aefd6e567b251552 (patch) | |
| tree | 2fcbc3953f6f11b3fbab844b093fcb71393dc9ed | |
| parent | e00c5544d260741c6639d9a005ea933888ee8317 (diff) | |
| download | forums-42cf9a9895bf36ee6a0a1821aefd6e567b251552.tar forums-42cf9a9895bf36ee6a0a1821aefd6e567b251552.tar.gz forums-42cf9a9895bf36ee6a0a1821aefd6e567b251552.tar.bz2 forums-42cf9a9895bf36ee6a0a1821aefd6e567b251552.tar.xz forums-42cf9a9895bf36ee6a0a1821aefd6e567b251552.zip | |
[ticket/9990] Add docs for running slow tests
PHPBB3-9990
| -rw-r--r-- | phpunit.xml.all | 25 | ||||
| -rw-r--r-- | tests/RUNNING_TESTS.txt | 9 |
2 files changed, 34 insertions, 0 deletions
diff --git a/phpunit.xml.all b/phpunit.xml.all new file mode 100644 index 0000000000..1be2830729 --- /dev/null +++ b/phpunit.xml.all @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<phpunit backupGlobals="true" + backupStaticAttributes="true" + colors="true" + convertErrorsToExceptions="true" + convertNoticesToExceptions="true" + convertWarningsToExceptions="true" + processIsolation="false" + stopOnFailure="false" + syntaxCheck="false" + bootstrap="tests/bootstrap.php" +> + <testsuites> + <testsuite name="phpBB Test Suite"> + <directory suffix="_test.php">./tests/</directory> + </testsuite> + </testsuites> + + <filter> + <blacklist> + <directory>./tests/</directory> + </blacklist> + </filter> +</phpunit> diff --git a/tests/RUNNING_TESTS.txt b/tests/RUNNING_TESTS.txt index ac07978d3e..59197acc0f 100644 --- a/tests/RUNNING_TESTS.txt +++ b/tests/RUNNING_TESTS.txt @@ -50,6 +50,15 @@ Once the prerequisites are installed, run the tests from the project root direct $ phpunit +Slow tests +-------------- +Certain tests, such as the UTF-8 normalizer or the DNS tests tend to be slow. +Thus these tests are in the `slow` group, which is excluded by default. You can +enable slow tests by copying the phpunit.xml.all file to phpunit.xml. If you only +want the slow tests, run: + + $ phpunit --group slow + More Information ================ |
