diff --git a/test/README b/test/README index 36d4b8c6d0a..6a1ca6b9dac 100644 --- a/test/README +++ b/test/README @@ -17,6 +17,6 @@ Run > phpunit TestFile.php If using Eclipse, select the test and click on menu "Run external tools and choose PHPUnit". * Generate a report of Unit tests code coverage: -Run > phpunit --coverage-html ./report MyTestSuite.php +Run > phpunit [--configuration ./phpunittestok.xml] --coverage-html ./report MyTestSuite.php Note that xdebug must be installed for this feature to work. diff --git a/test/phpunit.xml b/test/phpunit.xml deleted file mode 100644 index 7a34674fe44..00000000000 --- a/test/phpunit.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - /path/to/files - /path/to/file - - /path/to/files - /path/to/file - - - - /path/to/files - /path/to/file - - /path/to/files - /path/to/file - - - - \ No newline at end of file diff --git a/test/phpunittestko.xml b/test/phpunittestko.xml new file mode 100644 index 00000000000..c01af5e011b --- /dev/null +++ b/test/phpunittestko.xml @@ -0,0 +1,10 @@ + + + + ../test/ + + + ../htdocs/ + + + \ No newline at end of file diff --git a/test/phpunittestok.xml b/test/phpunittestok.xml new file mode 100644 index 00000000000..70978f915ef --- /dev/null +++ b/test/phpunittestok.xml @@ -0,0 +1,7 @@ + + + + ../test/ + + + \ No newline at end of file