-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathphpunit.xml.mustache
23 lines (23 loc) · 1.01 KB
/
phpunit.xml.mustache
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">{{#lambda.forwardslash}}{{apiSrcPath}}{{/lambda.forwardslash}}</directory>
<directory suffix=".php">{{#lambda.forwardslash}}{{modelSrcPath}}{{/lambda.forwardslash}}</directory>
</include>
</coverage>
<testsuites>
<testsuite name="tests">
{{^useCustomTemplateCode}}
<directory>{{apiTestPath}}</directory>
<directory>{{modelTestPath}}</directory>
{{/useCustomTemplateCode}}
{{#useCustomTemplateCode}}
<directory>./test</directory>
{{/useCustomTemplateCode}}
</testsuite>
</testsuites>
<php>
<ini name="error_reporting" value="E_ALL"/>
</php>
</phpunit>