mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
chore: adjusts for parallel testing
This commit is contained in:
@ -38,4 +38,5 @@ test('collision', function (array $arguments) {
|
||||
expect($output())->toContain(file_get_contents($snapshot));
|
||||
})->with([
|
||||
[['']],
|
||||
[['--parallel']],
|
||||
])->skipOnWindows();
|
||||
|
||||
@ -18,10 +18,10 @@ $run = function () {
|
||||
|
||||
test('parallel', function () use ($run) {
|
||||
expect($run('--exclude-group=integration'))
|
||||
->toContain('Tests: 2 deprecated, 3 warnings, 4 incomplete, 1 notice, 4 todos, 11 skipped, 697 passed (1702 assertions)')
|
||||
->toContain('Tests: 1 deprecated, 3 warnings, 4 incomplete, 1 notice, 4 todos, 11 skipped, 698 passed (1702 assertions)')
|
||||
->toContain('Parallel: 3 processes');
|
||||
})->skip();
|
||||
})->skipOnWindows();
|
||||
|
||||
test('a parallel test can extend another test with same name', function () use ($run) {
|
||||
expect($run('tests/Fixtures/Inheritance'))->toContain('Tests: 1 skipped, 2 passed (2 assertions)');
|
||||
})->skip();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user