3 changed files with 50 additions and 59 deletions
@ -1,29 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<phpunit |
||||
colors="true" |
||||
stopOnFailure="false" |
||||
bootstrap="../tests/bootstrap.php" |
||||
beStrictAboutTestsThatDoNotTestAnything="true" |
||||
> |
||||
<filter> |
||||
<whitelist> |
||||
<directory suffix=".php">../src</directory> |
||||
</whitelist> |
||||
</filter> |
||||
<testsuites> |
||||
<testsuite name="AnimeClient"> |
||||
<directory>../tests</directory> |
||||
</testsuite> |
||||
</testsuites> |
||||
<logging> |
||||
<log type="coverage-html" target="../coverage"/> |
||||
<log type="coverage-clover" target="logs/clover.xml"/> |
||||
</logging> |
||||
<php> |
||||
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0" /> |
||||
<server name="HTTP_HOST" value="localhost" /> |
||||
<server name="SERVER_NAME" value="localhost" /> |
||||
<server name="REQUEST_URI" value="/" /> |
||||
<server name="REQUEST_METHOD" value="GET" /> |
||||
</php> |
||||
</phpunit> |
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" stopOnFailure="false" bootstrap="../tests/bootstrap.php" beStrictAboutTestsThatDoNotTestAnything="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> |
||||
<coverage> |
||||
<include> |
||||
<directory suffix=".php">../src</directory> |
||||
</include> |
||||
<report> |
||||
<clover outputFile="logs/clover.xml"/> |
||||
<html outputDirectory="../coverage"/> |
||||
</report> |
||||
</coverage> |
||||
<testsuites> |
||||
<testsuite name="AnimeClient"> |
||||
<directory>../tests</directory> |
||||
</testsuite> |
||||
</testsuites> |
||||
<logging/> |
||||
<php> |
||||
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0"/> |
||||
<server name="HTTP_HOST" value="localhost"/> |
||||
<server name="SERVER_NAME" value="localhost"/> |
||||
<server name="REQUEST_URI" value="/"/> |
||||
<server name="REQUEST_METHOD" value="GET"/> |
||||
</php> |
||||
</phpunit> |
||||
|
@ -1,24 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<phpunit |
||||
colors="true" |
||||
stopOnFailure="false" |
||||
bootstrap="tests/bootstrap.php" |
||||
> |
||||
<filter> |
||||
<whitelist> |
||||
<directory suffix=".php">src</directory> |
||||
</whitelist> |
||||
</filter> |
||||
<testsuites> |
||||
<testsuite name="AnimeClient"> |
||||
<directory>tests</directory> |
||||
</testsuite> |
||||
</testsuites> |
||||
<php> |
||||
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0" /> |
||||
<server name="HTTP_HOST" value="localhost" /> |
||||
<server name="SERVER_NAME" value="localhost" /> |
||||
<server name="REQUEST_URI" value="/" /> |
||||
<server name="REQUEST_METHOD" value="GET" /> |
||||
</php> |
||||
</phpunit> |
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" stopOnFailure="false" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> |
||||
<coverage> |
||||
<include> |
||||
<directory suffix=".php">src</directory> |
||||
</include> |
||||
</coverage> |
||||
<testsuites> |
||||
<testsuite name="AnimeClient"> |
||||
<directory>tests</directory> |
||||
</testsuite> |
||||
</testsuites> |
||||
<php> |
||||
<server name="HTTP_USER_AGENT" value="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0"/> |
||||
<server name="HTTP_HOST" value="localhost"/> |
||||
<server name="SERVER_NAME" value="localhost"/> |
||||
<server name="REQUEST_URI" value="/"/> |
||||
<server name="REQUEST_METHOD" value="GET"/> |
||||
</php> |
||||
</phpunit> |
||||
|
Loading…
Reference in new issue