First version of functional tests working

This commit is contained in:
Alejandro Celaya
2017-10-23 11:20:55 +02:00
parent e282521040
commit c2feffa50c
5 changed files with 96 additions and 14 deletions

15
phpunit-func.xml Normal file
View File

@@ -0,0 +1,15 @@
<phpunit bootstrap="./func_tests_bootstrap.php" colors="true">
<testsuites>
<testsuite name="Shlink functional database tests">
<directory>./module/*/test-func</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./module/*/src/Repository</directory>
<directory suffix=".php">./module/*/src/**/Repository</directory>
<directory suffix=".php">./module/*/src/**/**/Repository</directory>
</whitelist>
</filter>
</phpunit>