phpunit.xml 1.94 KB
Newer Older
Nicolas Widart's avatar
Nicolas Widart committed
1 2 3
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
4
         bootstrap="vendor/autoload.php"
Nicolas Widart's avatar
Nicolas Widart committed
5 6 7 8 9
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
Nicolas Widart's avatar
Nicolas Widart committed
10
         stopOnFailure="false">
Nicolas Widart's avatar
Nicolas Widart committed
11
    <testsuites>
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
        <testsuite name="Core">
            <directory>./Modules/Core/Tests/</directory>
        </testsuite>
        <testsuite name="Dashboard">
            <directory>./Modules/Dashboard/Tests/</directory>
        </testsuite>
        <testsuite name="Media">
            <directory>./Modules/Media/Tests/</directory>
        </testsuite>
        <testsuite name="Menu">
            <directory>./Modules/Menu/Tests/</directory>
        </testsuite>
        <testsuite name="Page">
            <directory>./Modules/Page/Tests/</directory>
        </testsuite>
        <testsuite name="Setting">
            <directory>./Modules/Setting/Tests/</directory>
        </testsuite>
        <testsuite name="Tag">
            <directory>./Modules/Tag/Tests/</directory>
        </testsuite>
        <testsuite name="Translation">
            <directory>./Modules/Translation/Tests/</directory>
        </testsuite>
        <testsuite name="User">
            <directory>./Modules/User/Tests/</directory>
        </testsuite>
        <testsuite name="Workshop">
            <directory>./Modules/Workshop/Tests/</directory>
Nicolas Widart's avatar
Nicolas Widart committed
41 42
        </testsuite>
    </testsuites>
Nicolas Widart's avatar
Nicolas Widart committed
43 44 45 46 47
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./app</directory>
        </whitelist>
    </filter>
Nicolas Widart's avatar
Nicolas Widart committed
48 49
    <php>
        <env name="APP_ENV" value="testing"/>
Nicolas Widart's avatar
Nicolas Widart committed
50
        <env name="APP_URL" value="http://localhost"/>
Nicolas Widart's avatar
Nicolas Widart committed
51 52
        <env name="CACHE_DRIVER" value="array"/>
        <env name="SESSION_DRIVER" value="array"/>
Nicolas Widart's avatar
Nicolas Widart committed
53
        <env name="QUEUE_DRIVER" value="sync"/>
Nicolas Widart's avatar
Nicolas Widart committed
54 55
    </php>
</phpunit>