Commit 8150a267 authored by Tim Lieberman's avatar Tim Lieberman
Browse files

Improved PHPUnit configuration.

parent fb7e709f
vendor/*
/.phpunit.result.cache
......@@ -27,7 +27,7 @@
"squizlabs/php_codesniffer": "^3.5"
},
"scripts": {
"test": "phpunit --bootstrap=vendor/autoload.php --color=always --testdox tests/",
"test": "phpunit --coverage-text --colors=always --testdox",
"cs-check": "phpcs",
"cs-fix": "phpcbf"
}
......
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="stack-logger">
<directory>./tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
</phpunit>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment