forked from lightspeedretail/webstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
36 lines (34 loc) · 1.05 KB
/
phpunit.xml
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
<!-- This configuration runs all the tests. -->
<phpunit
bootstrap="core/protected/tests/phpunit/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="false"
stderr="true"
>
<php>
<server name="SERVER_NAME" value="www.copper.site" />
<server name="SERVER_ADDR" value="127.0.0.1" />
<server name="SERVER_PORT" value="80" />
<server name="HTTP_HOST" value="www.copper.site" />
<server name="REMOTE_ADDR" value="209.85.223.176" />
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0" />
</php>
<testsuites>
<testsuite name="Unit Tests">
<directory suffix=".php">core/protected/tests/phpunit/tests</directory>
</testsuite>
</testsuites>
<!--
The admin tests modify the user component which causes
login-related behaviour to fail for regular users. These must
be ran separately. For more detail, see AdminTest.
-->
<groups>
<exclude>
<group>admin</group>
</exclude>
</groups>
</phpunit>