Created first CLI E2E tests

This commit is contained in:
Alejandro Celaya
2022-02-13 12:20:02 +01:00
parent 79af315b9f
commit 9e32886f60
7 changed files with 128 additions and 1 deletions

20
phpunit-cli.xml Normal file
View File

@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="./config/test/bootstrap_cli_tests.php"
colors="true"
>
<testsuites>
<testsuite name="Shlink CLI tests">
<directory>./module/*/test-cli</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./module/CLI/src</directory>
<directory suffix=".php">./module/Core/src</directory>
</include>
</coverage>
</phpunit>