chore: adjusts tests

This commit is contained in:
Nuno Maduro
2025-01-19 17:35:09 +00:00
parent 6afb36519d
commit 709ecb1ba2
4 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@ jobs:
with: with:
php-version: ${{ matrix.php }} php-version: ${{ matrix.php }}
tools: composer:v2 tools: composer:v2
coverage: xdebug coverage: none
- name: Setup Problem Matches - name: Setup Problem Matches
run: | run: |

View File

@ -62,9 +62,9 @@
↓ is marked as todo 3 ↓ is marked as todo 3
↓ shouldBeMarkedAsTodo ↓ shouldBeMarkedAsTodo
PASS Tests\Features\Coverage WARN Tests\Features\Coverage
✓ it has plugin ✓ it has plugin
it adds coverage if --coverage exist - it adds coverage if --coverage exist → Coverage is not available
✓ it adds coverage if --min exist ✓ it adds coverage if --min exist
✓ it generates coverage based on file input ✓ it generates coverage based on file input
@ -1708,4 +1708,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, 38 todos, 32 skipped, 1153 passed (2749 assertions) Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 33 skipped, 1152 passed (2744 assertions)

View File

@ -31,7 +31,7 @@ get('foo')->get('bar')->expect(true)->toBeTrue();
get('foo')->expect(true)->toBeTrue(); get('foo')->expect(true)->toBeTrue();
describe('a "describe" group of tests', function () { describe('a "describe" group of tests', function () {
get('foo'); // not incomplete because closure is created... get('foo'); // not incomplete because closure is created...
get('foo')->get('bar')->expect(true)->toBeTrue(); get('foo')->get('bar')->expect(true)->toBeTrue();
get('foo')->expect(true)->toBeTrue(); get('foo')->expect(true)->toBeTrue();
}); });

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, 38 todos, 23 skipped, 1143 passed (2725 assertions)') ->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 24 skipped, 1142 passed (2720 assertions)')
->toContain('Parallel: 3 processes'); ->toContain('Parallel: 3 processes');
})->skipOnWindows(); })->skipOnWindows();