[FEATURE] Provide UnitTest.xml with code coverage generation
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Thu, 17 Jan 2013 12:58:44 +0000 (13:58 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 17 Jan 2013 22:13:53 +0000 (23:13 +0100)
This patch provides a basic setup for running extbase unit
test through one xml file that also collects code coverage
data whoose output will be stored in Build/Coverage.

Releases: 6.1
Resolves: #44601
Change-Id: I51f5c4c85d22a82848172b4716267d08d1b2f0f5
Reviewed-on: https://review.typo3.org/17576
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Build/UnitTests.xml [new file with mode: 0644]

diff --git a/typo3/sysext/extbase/Build/UnitTests.xml b/typo3/sysext/extbase/Build/UnitTests.xml
new file mode 100644 (file)
index 0000000..57331a0
--- /dev/null
@@ -0,0 +1,30 @@
+<phpunit backupGlobals="false"
+       backupStaticAttributes="false"
+       colors="true"
+       convertErrorsToExceptions="true"
+       convertWarningsToExceptions="true"
+       forceCoversAnnotation="false"
+       processIsolation="false"
+       stopOnError="false"
+       stopOnFailure="false"
+       stopOnIncomplete="false"
+       stopOnSkipped="false"
+       strict="false"
+       verbose="false">
+
+       <testsuites>
+               <testsuite name="EXT:extbase tests">
+                       <directory>../Tests/Unit/</directory>
+               </testsuite>
+       </testsuites>
+
+       <logging>
+               <log type="coverage-html" target="Coverage" title="Extbase" charset="UTF-8" yui="true" highlight="true" lowUpperBound="35" highLowerBound="70" />
+       </logging>
+
+       <filter>
+               <whitelist>
+                       <directory suffix=".php">../Classes</directory>
+               </whitelist>
+       </filter>
+</phpunit>
\ No newline at end of file