ldc-file-storage-service/phpunit.xml
Jérémy Munsch fc267c330c
feat(tests): add initial test structure and example tests
- Introduced Pest testing framework with basic test cases.
- Created TestCase and ExampleTest for unit testing.
- Updated phpunit.xml for improved test configuration.
2026-11-03 16:20:14 +01:00

41 lines
1.5 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/13.4/phpunit.xsd"
bootstrap="vendor/autoload.php"
backupGlobals="false"
colors="true"
processIsolation="false"
stopOnFailure="false"
executionOrder="random"
failOnWarning="true"
failOnRisky="true"
failOnEmptyTestSuite="false"
beStrictAboutOutputDuringTests="true"
cacheDirectory=".phpunit.cache">
<testsuites>
<testsuite name="Feature Test Suite">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Integration Test Suite">
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
<testsuite name="Unit Test Suite">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<file>./src/StorageServiceProvider.php</file>
</exclude>
</source>
<php>
<env name="APP_ENV" value="testing"/>
<env name="APP_KEY" value="base64:6Cu/ozUs8DpKDquFeVu+dVAvuhVmZvOqYo8CXIG5SO8="/>
<env name="CACHE_STORE" value="array"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
</php>
</phpunit>