diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-01-15 16:31:53 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-03-06 21:11:18 +0100 |
commit | 6c7d68645409cfad3858b5f252f5a49b148e3b53 (patch) | |
tree | fd81f0a21240ad42ee0c00a4b41d11f7149ef33e /phpunit.xml | |
parent | 52b503105d389d1796698114573ff618b2ad34a2 (diff) | |
download | Shaarli-6c7d68645409cfad3858b5f252f5a49b148e3b53.tar.gz Shaarli-6c7d68645409cfad3858b5f252f5a49b148e3b53.tar.zst Shaarli-6c7d68645409cfad3858b5f252f5a49b148e3b53.zip |
Run languages tests using PHPUnit test suites
Diffstat (limited to 'phpunit.xml')
-rw-r--r-- | phpunit.xml | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/phpunit.xml b/phpunit.xml index d6e01c35..8b66e6c5 100644 --- a/phpunit.xml +++ b/phpunit.xml | |||
@@ -3,13 +3,25 @@ | |||
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd" | 4 | xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd" |
5 | colors="true"> | 5 | colors="true"> |
6 | <testsuites> | ||
7 | <testsuite name="unit-tests"> | ||
8 | <directory>tests</directory> | ||
9 | <exclude>tests/languages</exclude> | ||
10 | </testsuite> | ||
11 | <testsuite name="language-de"> | ||
12 | <directory>tests/languages/de</directory> | ||
13 | </testsuite> | ||
14 | <testsuite name="language-en"> | ||
15 | <directory>tests/languages/en</directory> | ||
16 | </testsuite> | ||
17 | <testsuite name="language-fr"> | ||
18 | <directory>tests/languages/fr</directory> | ||
19 | </testsuite> | ||
20 | </testsuites> | ||
21 | |||
6 | <filter> | 22 | <filter> |
7 | <whitelist addUncoveredFilesFromWhitelist="true"> | 23 | <whitelist addUncoveredFilesFromWhitelist="true"> |
8 | <directory suffix=".php">application</directory> | 24 | <directory suffix=".php">application</directory> |
9 | </whitelist> | 25 | </whitelist> |
10 | </filter> | 26 | </filter> |
11 | <logging> | ||
12 | <log type="coverage-html" target="coverage" lowUpperBound="30" highLowerBound="80"/> | ||
13 | <log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/> | ||
14 | </logging> | ||
15 | </phpunit> | 27 | </phpunit> |