-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
65 lines (60 loc) · 2.35 KB
/
phpunit.xml
File metadata and controls
65 lines (60 loc) · 2.35 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
failOnRisky="true"
failOnWarning="true"
stopOnFailure="false"
executionOrder="random"
resolveDependencies="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true">
<testsuites>
<testsuite name="Unit Tests">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Integration Tests">
<directory>tests/Integration</directory>
</testsuite>
<testsuite name="Feature Tests">
<directory>tests/Feature</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>vendor</directory>
<file>src/Core/Application.php</file>
</exclude>
</source>
<coverage includeUncoveredFiles="true"
processUncoveredFiles="true"
ignoreDeprecatedCodeUnitsFromCodeCoverage="true">
<report>
<html outputDirectory="coverage-report" lowUpperBound="50" highLowerBound="90"/>
<text outputFile="php://stdout" showUncoveredFiles="false"/>
<clover outputFile="coverage.xml"/>
</report>
</coverage>
<php>
<env name="APP_ENV" value="testing"/>
<env name="DB_HOST" value="127.0.0.1"/>
<env name="DB_NAME" value="ppv_streaming_test"/>
<env name="DB_USER" value="test_user"/>
<env name="DB_PASS" value="test_password"/>
<env name="JWT_SECRET" value="test_jwt_secret_key_for_testing_only"/>
<env name="APP_SECRET" value="test_app_secret_key_for_testing_only"/>
<env name="BCRYPT_COST" value="4"/>
<env name="DEBUG" value="true"/>
<env name="MEDIAMTX_API_URL" value="http://localhost:9997/v3"/>
<env name="MEDIAMTX_API_TOKEN" value="test_token"/>
<env name="STRIPE_SECRET_KEY" value="sk_test_fake_key"/>
<env name="STRIPE_WEBHOOK_SECRET" value="whsec_test_fake_secret"/>
</php>
<logging>
<junit outputFile="test-results.xml"/>
</logging>
</phpunit>