build: add PHPUnit dependency
This commit is contained in:
parent
aa8569b048
commit
9e8dd46570
3 changed files with 5789 additions and 1 deletions
|
@ -26,7 +26,8 @@
|
|||
"post-install-cmd": "npm install",
|
||||
"minify": "npm run minify",
|
||||
"minify:css": "npm run minify:css",
|
||||
"minify:js": "npm run minify:js"
|
||||
"minify:js": "npm run minify:js",
|
||||
"test": "phpunit"
|
||||
},
|
||||
"require-dev": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
|
||||
|
|
5770
package-lock.json
generated
5770
package-lock.json
generated
File diff suppressed because it is too large
Load diff
17
phpunit.xml
Normal file
17
phpunit.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit backupGlobals="false"
|
||||
backupStaticAttributes="false"
|
||||
bootstrap="./vendor/autoload.php"
|
||||
colors="true"
|
||||
convertErrorsToExceptions="true"
|
||||
convertNoticesToExceptions="true"
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false"
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="Application Test Suite">
|
||||
<directory>./tests/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
Reference in a new issue