mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 02:47:38 +02:00
Add support for phpunit tests.
Integrated test-runner for phpunit which covers test-execution and code-coverage measurement. refs #4068, refs #4087
This commit is contained in:
parent
d5df734c77
commit
4a92879a5a
22
test/php/phpunit.xml
Normal file
22
test/php/phpunit.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<phpunit backupGlobals="true"
|
||||||
|
backupStaticAttributes="true"
|
||||||
|
colors="false"
|
||||||
|
convertErrorsToExceptions="true"
|
||||||
|
convertNoticesToExceptions="true"
|
||||||
|
convertWarningsToExceptions="true"
|
||||||
|
forceCoversAnnotation="false"
|
||||||
|
processIsolation="false"
|
||||||
|
stopOnError="false"
|
||||||
|
stopOnFailure="false"
|
||||||
|
stopOnIncomplete="false"
|
||||||
|
stopOnSkipped="false"
|
||||||
|
strict="false"
|
||||||
|
verbose="false">
|
||||||
|
|
||||||
|
<logging>
|
||||||
|
<log type="coverage-clover" target="../../build/log/phpunit_coverage.xml"/>
|
||||||
|
<log type="junit" target="../../build/log/phpunit_results.xml" logIncompleteSkipped="true"/>
|
||||||
|
</logging>
|
||||||
|
|
||||||
|
</phpunit>
|
||||||
|
|
5
test/php/runtests.sh
Executable file
5
test/php/runtests.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
phpunit "$@" .
|
||||||
|
|
||||||
|
exit 0
|
Loading…
x
Reference in New Issue
Block a user