release: 3.0.0-rc.1

This commit is contained in:
Nuno Maduro
2024-08-22 21:36:19 +01:00
parent 2c6c3119d2
commit ecdbe7a472
6 changed files with 1577 additions and 5 deletions

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string function version(): string
{ {
return '3.0.0-beta-4'; return '3.0.0-rc.1';
} }
function testDirectory(string $file = ''): string function testDirectory(string $file = ''): string

View File

@ -1,5 +1,5 @@
Pest Testing Framework 3.0.0-beta-4. Pest Testing Framework 3.0.0-rc.1.
USAGE: pest <file> [options] USAGE: pest <file> [options]

View File

@ -1,3 +1,3 @@
Pest Testing Framework 3.0.0-beta-4. Pest Testing Framework 3.0.0-rc.1.

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,9 @@ it('does not allow to add the same test description twice', function () {
it('does not allow static closures', function () { it('does not allow static closures', function () {
$testSuite = new TestSuite(getcwd(), 'tests'); $testSuite = new TestSuite(getcwd(), 'tests');
$method = new TestCaseMethodFactory('foo', 'bar', static function () {});
$method = new TestCaseMethodFactory('foo', static function () {});
$method->description = 'bar';
$testSuite->tests->set($method); $testSuite->tests->set($method);
})->throws( })->throws(

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: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 17 todos, 19 skipped, 1075 passed (2617 assertions)') ->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 17 todos, 19 skipped, 1075 passed (2618 assertions)')
->toContain('Parallel: 3 processes'); ->toContain('Parallel: 3 processes');
})->skipOnWindows(); })->skipOnWindows();