Cache PHPUnit result

This commit is contained in:
Phan An 2019-01-14 17:32:36 +01:00
parent 76068a424f
commit 433586e1ac
3 changed files with 5 additions and 3 deletions

3
.gitignore vendored
View file

@ -74,4 +74,5 @@ Temporary Items
*~
/log
coverage.xml
coverage.xml
.phpunit.result.cache

View file

@ -26,7 +26,7 @@
"filp/whoops": "~2.0",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "~1.0",
"phpunit/phpunit": "~7.0",
"phpunit/phpunit": "~7.5",
"symfony/css-selector": "~3.1",
"symfony/dom-crawler": "^3.2",
"facebook/webdriver": "^1.2",
@ -74,7 +74,7 @@
"post-create-project-cmd": [
"@php artisan key:generate"
],
"test": "phpunit --colors=always",
"test": "phpunit --colors=always --order-by=defects --stop-on-defect",
"coverage": "phpunit --colors=always --coverage-clover=coverage.xml",
"analyze": "phpstan analyse app --level=5"
},

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
cacheResult="true"
backupStaticAttributes="false"
bootstrap="bootstrap/autoload.php"
colors="true"