ci4
/
phpunit.xml.dist
63 строки · 2.4 Кб
1<?xml version="1.0" encoding="UTF-8"?>
2<phpunit3xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"4xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"5bootstrap="system/Test/bootstrap.php"6backupGlobals="false"7beStrictAboutOutputDuringTests="true"8colors="true"9columns="max"10failOnRisky="true"11failOnWarning="true"12cacheDirectory="build/.phpunit.cache">13<coverage14includeUncoveredFiles="true"15pathCoverage="false"16ignoreDeprecatedCodeUnits="true"17disableCodeCoverageIgnore="true">18<report>19<clover outputFile="build/logs/clover.xml"/>20<html outputDirectory="build/logs/html"/>21<php outputFile="build/logs/coverage.serialized"/>22<text outputFile="php://stdout" showUncoveredFiles="false"/>23</report>24</coverage>25<testsuites>26<testsuite name="App">27<directory>./tests</directory>28</testsuite>29</testsuites>30<logging>31<testdoxHtml outputFile="build/logs/testdox.html"/>32<testdoxText outputFile="build/logs/testdox.txt"/>33<junit outputFile="build/logs/logfile.xml"/>34</logging>35<source>36<include>37<directory suffix=".php">./app</directory>38</include>39<exclude>40<directory suffix=".php">./app/Views</directory>41<file>./app/Config/Routes.php</file>42</exclude>43</source>44<php>45<server name="app.baseURL" value="http://example.com/"/>46<server name="CODEIGNITER_SCREAM_DEPRECATIONS" value="0"/>47<!-- Directory containing phpunit.xml -->48<const name="HOMEPATH" value="./"/>49<!-- Directory containing the Paths config file -->50<const name="CONFIGPATH" value="./app/Config/"/>51<!-- Directory containing the front controller (index.php) -->52<const name="PUBLICPATH" value="./public/"/>53<!-- Database configuration -->54<!-- Uncomment to provide your own database for testing55<env name="database.tests.hostname" value="localhost"/>
56<env name="database.tests.database" value="tests"/>
57<env name="database.tests.username" value="tests_user"/>
58<env name="database.tests.password" value=""/>
59<env name="database.tests.DBDriver" value="MySQLi"/>
60<env name="database.tests.DBPrefix" value="tests_"/>
61-->
62</php>63</phpunit>64