Welcome to mirror list, hosted at ThFree Co, Russian Federation.

phpunit.xml.dist - github.com/YOURLS/YOURLS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0c61fbc4c9d6678f1e0baf6f205c8a3fd551458a (plain)
1
2
3
4
5
6
7
8
9
10
11
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
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>

<phpunit
	backupGlobals="false"
	colors="false"
	stopOnFailure="false"
	verbose="true"
    cacheResult="true"
	bootstrap="tests/bootstrap.php"
	>
	<testsuites>
		<testsuite name="YOURLS Test Suite">
			<directory suffix=".php">./tests/tests</directory>
		</testsuite>
	</testsuites>
	<groups>
		<exclude>
			<group>ajax</group>
		</exclude>
	</groups>
    <filter>
        <whitelist>
            <directory suffix=".php">./includes</directory>
            <exclude>
                <directory suffix=".php">./includes/vendors</directory>
            </exclude>
        </whitelist>
    </filter>
	<php>
		<!-- Constants -->
		<const name="PHPUNIT_TESTSUITE" value="true" />
		<!-- Login -->
		<request name="username" value="yourls"/>
		<request name="password" value="secret-ci-test"/>
		<!-- Install -->
		<server name="SERVER_SOFTWARE" value="TRAVIS APACHE"/>
		<!-- Stats data -->
		<server name="HTTP_USER_AGENT" value="Travis-CI (PHPUnit\3.7)"/>
		<server name="HTTP_HOST" value="travis.com"/>
		<server name="HTTP_CLIENT_IP" value="10.10.10.1"/>
		<!-- API -->
		<request name="format" value="simple"/>
	</php>
</phpunit>