Skip to content

Commit 97e06fc

Browse files
committed
Inclusão do namespace de testes
1 parent 43c5042 commit 97e06fc

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"Igrejanet\\Firebird\\": "src/"
1515
}
1616
},
17+
"autoload-dev": {
18+
"psr-4": {
19+
"Tests\\": "tests"
20+
}
21+
},
1722
"extra": {
1823
"laravel": {
1924
"providers": [

phpunit.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnFailure="false">
11+
<testsuites>
12+
<testsuite name="Unit">
13+
<directory suffix="Test.php">./tests/Unit</directory>
14+
</testsuite>
15+
</testsuites>
16+
<filter>
17+
<whitelist processUncoveredFilesFromWhitelist="true">
18+
<directory suffix=".php">./app</directory>
19+
</whitelist>
20+
</filter>
21+
<php>
22+
<server name="APP_ENV" value="testing"/>
23+
<server name="BCRYPT_ROUNDS" value="4"/>
24+
<server name="CACHE_DRIVER" value="array"/>
25+
<server name="MAIL_DRIVER" value="array"/>
26+
<server name="QUEUE_CONNECTION" value="sync"/>
27+
<server name="SESSION_DRIVER" value="array"/>
28+
</php>
29+
</phpunit>

0 commit comments

Comments
 (0)