-
-
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
Showing
4 changed files
with
135 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
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
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
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,23 @@ | ||
--TEST-- | ||
phpunit --list-tests --filter testAdd#0 ../../_files/DataProviderTest.php | ||
--FILE-- | ||
<?php declare(strict_types=1); | ||
$_SERVER['argv'][] = '--do-not-cache-result'; | ||
$_SERVER['argv'][] = '--no-configuration'; | ||
$_SERVER['argv'][] = '--list-tests'; | ||
$_SERVER['argv'][] = '--filter'; | ||
$_SERVER['argv'][] = 'testAdd#0'; | ||
$_SERVER['argv'][] = __DIR__ . '/../../_files/DataProviderTest.php'; | ||
|
||
require_once __DIR__ . '/../../bootstrap.php'; | ||
PHPUnit\TextUI\Command::main(); | ||
--EXPECTF-- | ||
PHPUnit %s by Sebastian Bergmann and contributors. | ||
|
||
The --filter and --list-tests options cannot be combined, --filter is ignored | ||
|
||
Available test(s): | ||
- PHPUnit\TestFixture\DataProviderTest::testAdd#0 | ||
- PHPUnit\TestFixture\DataProviderTest::testAdd#1 | ||
- PHPUnit\TestFixture\DataProviderTest::testAdd#2 | ||
- PHPUnit\TestFixture\DataProviderTest::testAdd#3 |