1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 21:50:50 +02:00

Move phpunit.xml into root to make PHPUnit easier to run

This seems to be pretty standard. Can just run `vendor/bin/phpunit` without any arguments. Removes the need for `composer test` (which is not ideal anyway as it removes colours from the output).
This commit is contained in:
Toby Zerner
2016-06-05 09:16:29 +09:30
parent 44d44ef0aa
commit d2dc0d05e5
3 changed files with 2 additions and 10 deletions

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
<testsuites>
<testsuite name="all">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>