-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
39 lines (39 loc) · 1.48 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
39 lines (39 loc) · 1.48 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="tests/bootstrap.php"
backupGlobals="true"
cacheResult="false"
processIsolation="false"
colors="true">
<testsuites>
<testsuite name="TelegramBot Test Suite">
<directory>tests</directory>
<exclude>tests/AbstractFixtureConstructionTest.php</exclude>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory suffix=".php">src/Entity</directory>
<directory suffix=".php">src/Request</directory>
<directory suffix=".php">src/Response</directory>
<directory suffix=".php">src/Http/Client</directory>
<directory suffix=".php">src/Enum</directory>
</exclude>
</source>
<coverage includeUncoveredFiles="true"
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="true">
<report>
<clover outputFile="coverage.xml"/>
<html outputDirectory="coverage-report"/>
</report>
</coverage>
<php>
<env name="ANDREWGOS_TELEGRAM_BOT_TEST_TOKEN" value="YOUR_SECRET_API_KEY"/>
<env name="ANDREWGOS_TELEGRAM_BOT_TEST_CHAT_ID" value="YOUR_SECRET_CHAT_ID"/>
</php>
</phpunit>