mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
Updates tests
This commit is contained in:
@ -1428,16 +1428,6 @@
|
|||||||
PASS Tests\Hooks\BeforeEachTest
|
PASS Tests\Hooks\BeforeEachTest
|
||||||
✓ global beforeEach execution order
|
✓ global beforeEach execution order
|
||||||
|
|
||||||
PASS Tests\Overrides\VersionsTest
|
|
||||||
✓ versions with dataset "Runner/Filter/NameFilterIterator.php"
|
|
||||||
✓ versions with dataset "Runner/ResultCache/DefaultResultCache.php"
|
|
||||||
✓ versions with dataset "Runner/TestSuiteLoader.php"
|
|
||||||
✓ versions with dataset "TextUI/Command/Commands/WarmCodeCoverageCacheCommand.php"
|
|
||||||
✓ versions with dataset "TextUI/Output/Default/ProgressPrinter/Subscriber/TestSkippedSubscriber.php"
|
|
||||||
✓ versions with dataset "TextUI/TestSuiteFilterProcessor.php"
|
|
||||||
✓ versions with dataset "Event/Value/ThrowableBuilder.php"
|
|
||||||
✓ versions with dataset "Logging/JUnit/JunitXmlLogger.php"
|
|
||||||
|
|
||||||
PASS Tests\PHPUnit\CustomAffixes\InvalidTestName
|
PASS Tests\PHPUnit\CustomAffixes\InvalidTestName
|
||||||
✓ it runs file names like @#$%^&()-_=+.php
|
✓ it runs file names like @#$%^&()-_=+.php
|
||||||
|
|
||||||
@ -1708,4 +1698,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, 33 skipped, 1152 passed (2744 assertions)
|
Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 33 skipped, 1144 passed (2736 assertions)
|
||||||
@ -1,18 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
declare(strict_types=1);
|
|
||||||
|
|
||||||
use Pest\Bootstrappers\BootOverrides;
|
|
||||||
|
|
||||||
test('versions', function (string $vendorPath, string $expectedHash) {
|
|
||||||
expect(hash_file('sha256', $vendorPath))->toBe($expectedHash);
|
|
||||||
})->with(function () {
|
|
||||||
foreach (BootOverrides::FILES as $hash => $file) {
|
|
||||||
$path = implode(DIRECTORY_SEPARATOR, [
|
|
||||||
dirname(__DIR__, 2),
|
|
||||||
'vendor/phpunit/phpunit/src',
|
|
||||||
$file,
|
|
||||||
]);
|
|
||||||
yield $file => [$path, $hash];
|
|
||||||
}
|
|
||||||
});
|
|
||||||
@ -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, 24 skipped, 1142 passed (2720 assertions)')
|
->toContain('Tests: 2 deprecated, 4 warnings, 5 incomplete, 2 notices, 38 todos, 24 skipped, 1134 passed (2712 assertions)')
|
||||||
->toContain('Parallel: 3 processes');
|
->toContain('Parallel: 3 processes');
|
||||||
})->skipOnWindows();
|
})->skipOnWindows();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user