Added PHPunit.xml
This commit is contained in:
parent
2ede81e1d8
commit
9130b162b7
2 changed files with 15 additions and 1 deletions
|
@ -157,7 +157,7 @@ module.exports = function(grunt) {
|
|||
});
|
||||
|
||||
grunt.registerTask('tests', 'Run all tests.', function() {
|
||||
exec('php vendor/phpunit/phpunit/phpunit -v --strict --bootstrap src/Bootstrap.php tests/');
|
||||
exec('php vendor/phpunit/phpunit/phpunit');
|
||||
});
|
||||
|
||||
grunt.registerTask('update', 'Upgrade database to newest version.', function() {
|
||||
|
|
14
phpunit.xml
Normal file
14
phpunit.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit bootstrap="./src/Bootstrap.php" colors="true"
|
||||
convertErrorsToExceptions="true"
|
||||
convertNoticesToExceptions="true"
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false">
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="Main test suite">
|
||||
<directory>./tests/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
Loading…
Reference in a new issue