-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a461ca
commit ed44a9b
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--TEST-- | ||
https://github.com/sebastianbergmann/phpunit/issues/5164 | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '--no-configuration'; | ||
$_SERVER['argv'][] = '--verbose'; | ||
$_SERVER['argv'][] = __DIR__ . '/5164/Issue5164Test.php'; | ||
|
||
require_once __DIR__ . '/../../bootstrap.php'; | ||
PHPUnit\TextUI\Command::main(); | ||
--XFAIL-- | ||
https://github.com/sebastianbergmann/phpunit/issues/5164 | ||
--EXPECTF-- | ||
PHPUnit %s by Sebastian Bergmann and contributors. | ||
|
||
Runtime: %s | ||
|
||
SS 2 / 2 (100%) | ||
|
||
Time: %s, Memory: %s | ||
|
||
There were 2 skipped tests: | ||
|
||
1) Issue5074Test::testOne | ||
message | ||
|
||
%sIssue5074Test.php:%d | ||
|
||
2) Issue5074Test::testTwo | ||
message | ||
|
||
%sIssue5074Test.php:%d | ||
|
||
OK, but incomplete, skipped, or risky tests! | ||
Tests: 2, Assertions: 0, Skipped: 2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php declare(strict_types=1); | ||
use PHPUnit\Framework\TestCase; | ||
|
||
final class Issue5164Test extends TestCase | ||
{ | ||
public static function setUpBeforeClass(): void | ||
{ | ||
self::markTestSkipped('message'); | ||
} | ||
|
||
public function testOne(): void | ||
{ | ||
} | ||
|
||
public function testTwo(): void | ||
{ | ||
} | ||
} |