mirror of https://github.com/MISP/MISP
46 lines
1.6 KiB
XML
46 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
|
|
bootstrap="tests/bootstrap.php"
|
|
cacheResultFile=".phpunit.cache/test-results"
|
|
executionOrder="depends,defects"
|
|
forceCoversAnnotation="false"
|
|
beStrictAboutCoversAnnotation="true"
|
|
beStrictAboutOutputDuringTests="true"
|
|
beStrictAboutTodoAnnotatedTests="true"
|
|
convertDeprecationsToExceptions="true"
|
|
failOnRisky="true"
|
|
failOnWarning="false"
|
|
colors="true"
|
|
verbose="true">
|
|
<testsuites>
|
|
<testsuite name="default">
|
|
<directory>tests</directory>
|
|
</testsuite>
|
|
<testsuite name="app">
|
|
<directory>tests/TestCase/</directory>
|
|
</testsuite>
|
|
<testsuite name="controller">
|
|
<directory>./tests/TestCase/Controller</directory>
|
|
</testsuite>
|
|
<testsuite name="api">
|
|
<directory>./tests/TestCase/Api</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<php>
|
|
<ini name="memory_limit" value="-1" />
|
|
<ini name="apc.enable_cli" value="1" />
|
|
<env name="OPENAPI_SPEC" value="webroot/docs/openapi.yaml" />
|
|
<env name="SKIP_DB_MIGRATIONS" value="0" />
|
|
</php>
|
|
<coverage cacheDirectory=".phpunit.cache/code-coverage"
|
|
processUncoveredFiles="true">
|
|
<include>
|
|
<directory suffix=".php">src/</directory>
|
|
<directory suffix=".php">plugins/*/src/</directory>
|
|
</include>
|
|
<exclude>
|
|
<file>src/Console/Installer.php</file>
|
|
</exclude>
|
|
</coverage>
|
|
</phpunit> |