Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Commit 5707a53

Browse files
committed
wip
1 parent b69cbe9 commit 5707a53

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

phpunit.xml.dist

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 bootstrap="vendor/autoload.php"
3+
backupGlobals="false"
4+
backupStaticAttributes="false"
5+
colors="true"
6+
verbose="true"
7+
convertErrorsToExceptions="true"
8+
convertNoticesToExceptions="true"
9+
convertWarningsToExceptions="true"
10+
processIsolation="false"
11+
stopOnFailure="false">
12+
<testsuites>
13+
<testsuite name="Spatie Test Suite">
14+
<directory>tests</directory>
15+
</testsuite>
16+
</testsuites>
17+
<filter>
18+
<whitelist>
19+
<directory suffix=".php">src/</directory>
20+
</whitelist>
21+
</filter>
22+
<logging>
23+
<log type="tap" target="build/report.tap"/>
24+
<log type="junit" target="build/report.junit.xml"/>
25+
<log type="coverage-html" target="build/coverage"/>
26+
<log type="coverage-text" target="build/coverage.txt"/>
27+
<log type="coverage-clover" target="build/logs/clover.xml"/>
28+
</logging>
29+
</phpunit>

tests/StackTraceTabTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Facade\IgnitionTinkerTab\Tests;
44

5+
use Facade\CodeEditor\StackTraceTab;
56
use Facade\IgnitionTinkerTab\TinkerTab;
67
use PHPUnit\Framework\TestCase;
78

@@ -10,7 +11,7 @@ class StackTraceTabTest extends TestCase
1011
/** @test */
1112
public function it_can_return_the_tab_name()
1213
{
13-
$tab = new StackTraceTabTest();
14+
$tab = new StackTraceTab();
1415

1516
$this->assertEquals('Stack trace', $tab->name());
1617
}

0 commit comments

Comments
 (0)