Fixes test suite

This commit is contained in:
Nuno Maduro
2024-04-27 11:36:22 +01:00
parent f49d1e0e18
commit cfa00da885
15 changed files with 161 additions and 51 deletions

View File

@ -2,8 +2,6 @@
use Symfony\Component\Process\Process;
beforeEach()->skip('Waiting for Parallel to be stable');
$run = function () {
$process = new Process(
array_merge(['php', 'bin/pest', '--parallel', '--processes=3'], func_get_args()),
@ -18,7 +16,7 @@ $run = function () {
test('parallel', function () use ($run) {
expect($run('--exclude-group=integration'))
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 16 skipped, 994 passed (2348 assertions)')
->toContain('Tests: 1 deprecated, 4 warnings, 5 incomplete, 2 notices, 13 todos, 16 skipped, 1017 passed (2483 assertions)')
->toContain('Parallel: 3 processes');
})->skipOnWindows();