Skip to content

Commit

Permalink
migrate phpunit configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jonquihote committed Feb 15, 2023
1 parent 1b5f61c commit 58a235f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 17 deletions.
25 changes: 11 additions & 14 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
backupStaticProperties="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Laravel Modules Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<coverage>
<include>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
</include>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
</report>
</coverage>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<junit outputFile="build/report.junit.xml"/>
</logging>
</phpunit>
2 changes: 1 addition & 1 deletion tests/Commands/ComponentClassMakeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Nwidart\Modules\Tests\BaseTestCase;
use Spatie\Snapshots\MatchesSnapshots;

class ComponentClassCommandTest extends BaseTestCase
class ComponentClassMakeCommandTest extends BaseTestCase
{
use MatchesSnapshots;
/**
Expand Down
2 changes: 1 addition & 1 deletion tests/Commands/ComponentViewMakeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Nwidart\Modules\Tests\BaseTestCase;
use Spatie\Snapshots\MatchesSnapshots;

class ComponentViewCommandTest extends BaseTestCase
class ComponentViewMakeCommandTest extends BaseTestCase
{
use MatchesSnapshots;
/**
Expand Down
2 changes: 1 addition & 1 deletion tests/LaravelModuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Nwidart\Modules\Contracts\ActivatorInterface;
use Nwidart\Modules\Json;

class ModuleTest extends BaseTestCase
class LaravelModuleTest extends BaseTestCase
{
/**
* @var TestingModule
Expand Down

0 comments on commit 58a235f

Please sign in to comment.