Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
renekorss committed Oct 6, 2023
1 parent a3df737 commit 7242d19
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 39 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@docs"
],
"format": "./vendor/bin/php-cs-fixer fix",
"test": "./vendor/bin/phpunit tests",
"test": "./vendor/bin/phpunit",
"phpmd": "./vendor/bin/phpmd ./src text cleancode,codesize,controversial,design,naming,unusedcode",
"phpcs": "./vendor/bin/phpcs --standard=PSR2 src/",
"docs": "apigen generate src --destination docs"
Expand Down
13 changes: 8 additions & 5 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="true" backupStaticAttributes="false" colors="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="true" colors="false" processIsolation="false" stopOnFailure="false" bootstrap="./vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage includeUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<html outputDirectory="tests/coverage" lowUpperBound="35" highLowerBound="70"/>
</report>
</coverage>
<testsuites>
<testsuite name="Test Suite">
<directory suffix=".php">./tests/</directory>
<directory>./tests/</directory>
<exclude>./tests/BaseTest.php</exclude>
</testsuite>
</testsuites>
<groups>
Expand All @@ -19,4 +17,9 @@
</exclude>
</groups>
<logging/>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>
30 changes: 0 additions & 30 deletions phpunit.xml.bak

This file was deleted.

3 changes: 0 additions & 3 deletions tests/bootstrap.php

This file was deleted.

0 comments on commit 7242d19

Please sign in to comment.