Files
sysPass/tests/phpunit.xml
Rubén D ffb0b0f1ad ci(tests): More exclusions
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-05-21 17:27:44 +02:00

80 lines
3.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
~ sysPass
~
~ @author nuxsmin
~ @link https://syspass.org
~ @copyright 2012-2023, Rubén Domínguez nuxsmin@$syspass.org
~
~ This file is part of sysPass.
~
~ sysPass is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ sysPass is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with sysPass. If not, see <http://www.gnu.org/licenses/>.
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
backupGlobals="false"
bootstrap="./SP/bootstrap.php"
colors="true"
processIsolation="false"
stopOnFailure="false"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<coverage>
<report>
<clover outputFile="./_output/coverage-clover.xml"/>
<text outputFile="php://stdout" showUncoveredFiles="true"
showOnlySummary="true"/>
</report>
</coverage>
<testsuites>
<testsuite name="core">
<directory suffix=".php">./SP</directory>
<exclude>./SP/Modules</exclude>
<exclude>./SP/Services/Install/</exclude>
<exclude>./SP/Services/Backup</exclude>
<exclude>./SP/Generators</exclude>
<exclude>./SP/Domain/Account/Search/AccountSearchTokenizerDataTrait.php</exclude>
<exclude>./SP/DatabaseTestCase.php</exclude>
<exclude>./SP/DatabaseTrait.php</exclude>
<exclude>./SP/DatabaseUtil.php</exclude>
<exclude>./SP/PHPUnitHelper.php</exclude>
<exclude>./SP/UnitaryTestCase.php</exclude>
<exclude>./SP/bootstrap.php</exclude>
<exclude>./SP/Stubs/AccountRepositoryStub.php</exclude>
<exclude>./SP/Stubs/PublicLinkRepositoryStub.php</exclude>
<exclude>./SP/WebTestCase.php</exclude>
</testsuite>
<testsuite name="api">
<directory suffix=".php">./SP/Modules/Api</directory>
</testsuite>
<testsuite name="cli">
<directory suffix=".php">./SP/Modules/Cli</directory>
</testsuite>
</testsuites>
<logging/>
<source>
<include>
<directory suffix=".php">../lib/SP</directory>
</include>
<exclude>
<directory suffix=".php">../lib/SP/DataModel</directory>
<directory suffix=".php">../lib/SP/Providers</directory>
<directory suffix=".php">../lib/SP/Html/Assets</directory>
<directory suffix=".php">../lib/SP/Html/DataGrid</directory>
<file>../lib/SP/Config/ConfigData.php</file>
</exclude>
</source>
</phpunit>