Skip to content

Commit 049da04

Browse files
committed
release: v2.11.0
1 parent 4d7aa2b commit 049da04

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

bin/worker.php

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
];
4747

4848
foreach ($composerAutoloadFiles as $file) {
49+
4950
if (file_exists($file)) {
5051
require_once $file;
5152
define('PHPUNIT_COMPOSER_INSTALL', $file);

src/Pest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
function version(): string
88
{
9-
return '2.10.1';
9+
return '2.11.0';
1010
}
1111

1212
function testDirectory(string $file = ''): string

tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Pest Testing Framework 2.10.1.
2+
Pest Testing Framework 2.11.0.
33

44
USAGE: pest <file> [options]
55

Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
Pest Testing Framework 2.10.1.
2+
Pest Testing Framework 2.11.0.
33

tests/.snapshots/success.txt

+9-1
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,14 @@
411411
✓ failures with custom message
412412
✓ not failures
413413

414+
PASS Tests\Features\Expect\toBeInvokable
415+
✓ class is invokable
416+
✓ opposite class is invokable
417+
✓ class is invokable via a parent class
418+
✓ class is invokable via a trait
419+
✓ failure when the class is not invokable
420+
✓ class is not invokable
421+
414422
PASS Tests\Features\Expect\toBeIterable
415423
✓ pass
416424
✓ failures
@@ -1186,4 +1194,4 @@
11861194
WARN Tests\Visual\Version
11871195
- visual snapshot of help command output
11881196

1189-
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 838 passed (1939 assertions)
1197+
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 844 passed (1947 assertions)

tests/Visual/Parallel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
test('parallel', function () use ($run) {
1818
expect($run('--exclude-group=integration'))
19-
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 827 passed (1924 assertions)')
19+
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 833 passed (1932 assertions)')
2020
->toContain('Parallel: 3 processes');
2121
})->skipOnWindows();
2222

0 commit comments

Comments
 (0)