Skip to content

Commit

Permalink
release: v2.31.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Jan 11, 2024
1 parent 5258e56 commit 3457841
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
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.30.0';
return '2.31.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.30.0.
Pest Testing Framework 2.31.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.30.0.
Pest Testing Framework 2.31.0.

8 changes: 7 additions & 1 deletion tests/.snapshots/success.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,12 @@
- it can use something in the test case as a condition → This test was skipped
- it can user higher order callables and skip

WARN Tests\Features\SkipOnPhp
✓ it can run on php version
- it can skip on specific php version → This test is skipped on PHP [==8.3.1].
✓ it can run on specific php version
- it can skip on php versions depending on constraint → This test is skipped on PHP [>=7.4.0].

PASS Tests\Features\Test
✓ a test
✓ higher order message test
Expand Down Expand Up @@ -1372,4 +1378,4 @@
WARN Tests\Visual\Version
- visual snapshot of help command output

Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 19 skipped, 976 passed (2302 assertions)
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 21 skipped, 978 passed (2304 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, 963 passed (2283 assertions)')
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 17 skipped, 965 passed (2285 assertions)')
->toContain('Parallel: 3 processes');
})->skipOnWindows();

Expand Down

0 comments on commit 3457841

Please sign in to comment.