We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
beforeEach runs before checking skip() both when on test or directly on beforeEach.
I would expect that skip check takes precedence.
beforeEach(fn () => dump('beforeEach')) ->skip(fn () => dump('skip')); test('should not run', fn () => dump('this test should not run'));
output:
"beforeEach" // tests\Feature\Api\pestTest.php:3 "skip" // tests\Feature\Api\pestTest.php:4
This test was ignored.
No response
3.7.1
8.3.14
Windows
in case it's significant: Pest in Laravel app
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What Happened
beforeEach runs before checking skip() both when on test or directly on beforeEach.
I would expect that skip check takes precedence.
How to Reproduce
output:
"beforeEach" // tests\Feature\Api\pestTest.php:3
"skip" // tests\Feature\Api\pestTest.php:4
This test was ignored.
Sample Repository
No response
Pest Version
3.7.1
PHP Version
8.3.14
Operation System
Windows
Notes
in case it's significant: Pest in Laravel app
The text was updated successfully, but these errors were encountered: