release: v2.31.0

This commit is contained in:
Nuno Maduro
2024-01-11 15:33:20 +00:00
parent 5258e569c1
commit 3457841a9b
5 changed files with 11 additions and 5 deletions

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string function version(): string
{ {
return '2.30.0'; return '2.31.0';
} }
function testDirectory(string $file = ''): string function testDirectory(string $file = ''): string

View File

@ -1,5 +1,5 @@
Pest Testing Framework 2.30.0. Pest Testing Framework 2.31.0.
USAGE: pest <file> [options] USAGE: pest <file> [options]

View File

@ -1,3 +1,3 @@
Pest Testing Framework 2.30.0. Pest Testing Framework 2.31.0.

View File

@ -1093,6 +1093,12 @@
- it can use something in the test case as a condition → This test was skipped - it can use something in the test case as a condition → This test was skipped
- it can user higher order callables and skip - 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 PASS Tests\Features\Test
✓ a test ✓ a test
✓ higher order message test ✓ higher order message test
@ -1372,4 +1378,4 @@
WARN Tests\Visual\Version WARN Tests\Visual\Version
- visual snapshot of help command output - 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)

View File

@ -16,7 +16,7 @@ $run = function () {
test('parallel', function () use ($run) { test('parallel', function () use ($run) {
expect($run('--exclude-group=integration')) 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'); ->toContain('Parallel: 3 processes');
})->skipOnWindows(); })->skipOnWindows();