mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
chore: makes tests pass
This commit is contained in:
@ -1,21 +0,0 @@
|
||||
|
||||
.⨯.
|
||||
────────────────────────────────────────────────────────────────────────────
|
||||
FAILED Tests\Fixtures\CollisionTest > error Exception
|
||||
error
|
||||
|
||||
at tests/Fixtures/CollisionTest.php:4
|
||||
1▕ <?php
|
||||
2▕
|
||||
3▕ test('error', function () {
|
||||
➜ 4▕ throw new Exception('error');
|
||||
5▕ })->skip(! isset($_SERVER['COLLISION_TEST']));
|
||||
6▕
|
||||
7▕ test('success', function () {
|
||||
8▕ expect(true)->toBeTrue();
|
||||
9▕ })->skip(! isset($_SERVER['COLLISION_TEST']));
|
||||
|
||||
1 tests/Fixtures/CollisionTest.php:4
|
||||
|
||||
|
||||
Tests: 1 failed, 2 passed (2 assertions)
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
Pest Testing Framework 2.30.0.
|
||||
Pest Testing Framework 3.0.0-dev-0001.
|
||||
|
||||
USAGE: pest <file> [options]
|
||||
|
||||
@ -33,6 +33,7 @@
|
||||
--list-tests .......................................... List available tests
|
||||
--list-tests-xml [file] ................. List available tests in XML format
|
||||
--filter [pattern] ............................... Filter which tests to run
|
||||
--exclude-filter [pattern] .. Exclude tests for the specified filter pattern
|
||||
--test-suffix [suffixes] Only search for test in files with specified suffix(es). Default: Test.php,.phpt
|
||||
|
||||
EXECUTION OPTIONS:
|
||||
@ -84,6 +85,7 @@
|
||||
--reverse-list .............................. Print defects in reverse order
|
||||
--teamcity . Replace default progress and result output with TeamCity format
|
||||
--testdox ................ Replace default result output with TestDox format
|
||||
--debug Replace default progress and result output with debugging information
|
||||
--compact ................ Replace default result output with Compact format
|
||||
|
||||
LOGGING OPTIONS:
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
|
||||
Pest Testing Framework 2.30.0.
|
||||
Pest Testing Framework 3.0.0-dev-0001.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user