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
|
@ -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>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
phpunit "$@" .
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue