File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
tests/end-to-end/execution-order Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ --TEST--
2+ Empty test suite
3+ --FILE--
4+ <?php declare (strict_types=1 );
5+ $ _SERVER ['argv ' ][] = '--no-configuration ' ;
6+ $ _SERVER ['argv ' ][] = '--do-not-cache-result ' ;
7+ $ _SERVER ['argv ' ][] = '--debug ' ;
8+ $ _SERVER ['argv ' ][] = __DIR__ . '/fixture/empty-test-suite ' ;
9+
10+ require __DIR__ . '/../../bootstrap.php ' ;
11+
12+ (new PHPUnit \TextUI \Application )->run ($ _SERVER ['argv ' ]);
13+ --EXPECTF --
14+ PHPUnit Started (PHPUnit %s using %s)
15+ Test Runner Configured
16+ Test Runner Triggered Warning (No tests found in class "PHPUnit\TestFixture\ExecutionOrder\EmptyTestSuite\FooTest " .)
17+ Test Suite Loaded (0 tests)
18+ Event Facade Sealed
19+ Test Runner Started
20+ Test Suite Sorted
21+ Test Runner Execution Started (0 tests)
22+ Test Runner Execution Finished
23+ Test Runner Finished
24+ PHPUnit Finished (Shell Exit Code: 1 )
Original file line number Diff line number Diff line change 1+ <?php declare (strict_types=1 );
2+ /*
3+ * This file is part of PHPUnit.
4+ *
5+ * (c) Sebastian Bergmann <sebastian@phpunit.de>
6+ *
7+ * For the full copyright and license information, please view the LICENSE
8+ * file that was distributed with this source code.
9+ */
10+ namespace PHPUnit \TestFixture \ExecutionOrder \EmptyTestSuite ;
11+
12+ use PHPUnit \Framework \TestCase ;
13+
14+ final class FooTest extends TestCase
15+ {
16+ }
You can’t perform that action at this time.
0 commit comments