build: add PHPUnit dependency

This commit is contained in:
Ben Goldsworthy 2021-08-10 19:17:48 +01:00
parent aa8569b048
commit 9e8dd46570
3 changed files with 5789 additions and 1 deletions

View file

@ -26,7 +26,8 @@
"post-install-cmd": "npm install", "post-install-cmd": "npm install",
"minify": "npm run minify", "minify": "npm run minify",
"minify:css": "npm run minify:css", "minify:css": "npm run minify:css",
"minify:js": "npm run minify:js" "minify:js": "npm run minify:js",
"test": "phpunit"
}, },
"require-dev": { "require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",

5770
package-lock.json generated

File diff suppressed because it is too large Load diff

17
phpunit.xml Normal file
View 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>