Skip to content

Commit

Permalink
release: v2.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Aug 1, 2023
1 parent 4d7aa2b commit 049da04
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
1 change: 1 addition & 0 deletions bin/worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
];

foreach ($composerAutoloadFiles as $file) {

if (file_exists($file)) {
require_once $file;
define('PHPUNIT_COMPOSER_INSTALL', $file);
Expand Down
2 changes: 1 addition & 1 deletion src/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

function version(): string
{
return '2.10.1';
return '2.11.0';
}

function testDirectory(string $file = ''): string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Pest Testing Framework 2.10.1.
Pest Testing Framework 2.11.0.

USAGE: pest <file> [options]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

Pest Testing Framework 2.10.1.
Pest Testing Framework 2.11.0.

10 changes: 9 additions & 1 deletion tests/.snapshots/success.txt
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,14 @@
✓ failures with custom message
✓ not failures

PASS Tests\Features\Expect\toBeInvokable
✓ class is invokable
✓ opposite class is invokable
✓ class is invokable via a parent class
✓ class is invokable via a trait
✓ failure when the class is not invokable
✓ class is not invokable

PASS Tests\Features\Expect\toBeIterable
✓ pass
✓ failures
Expand Down Expand Up @@ -1186,4 +1194,4 @@
WARN Tests\Visual\Version
- visual snapshot of help command output

Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 838 passed (1939 assertions)
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 844 passed (1947 assertions)
2 changes: 1 addition & 1 deletion tests/Visual/Parallel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
test('parallel', function () use ($run) {
expect($run('--exclude-group=integration'))
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 827 passed (1924 assertions)')
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 15 skipped, 833 passed (1932 assertions)')
->toContain('Parallel: 3 processes');
})->skipOnWindows();

Expand Down

0 comments on commit 049da04

Please sign in to comment.