Skip to content

Commit

Permalink
minor : test
Browse files Browse the repository at this point in the history
  • Loading branch information
encreinformatique committed Nov 28, 2022
1 parent b73010e commit 05cc27a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@
"psr-4": {
"EncreInformatique\\AcumbamailApi\\Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit"
}
}
19 changes: 19 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage includeUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<clover outputFile="./clover.xml"/>
</report>
</coverage>
<testsuites>
<testsuite name="Acumbamail API Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<logging>
<!-- and this is where your report will be written -->
</logging>
</phpunit>
1 change: 1 addition & 0 deletions tests/AcumbamailApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace EncreInformatique\AcumbamailApi;

use PHPUnit\Framework\TestCase;
use EncreInformatique\AcumbamailApi\Acumbamail;

class AcumbamailTest extends TestCase
Expand Down

0 comments on commit 05cc27a

Please sign in to comment.