Skip to content

AbstractSniffTestCase: mark sniff tests without test case files as incomplete #998

New issue

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

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 15, 2025

Description

Previously, sniff tests without case files would silently pass.

Suggested changelog entry

Changed:

  • Tests which extend the AbstractSniffTestCase for which no test case files (.inc files) can be found, will now be marked as "incomplete".
    • Previously, those tests would silently pass.

…complete

Previously, sniff tests without case files would silently pass.
@jrfnl jrfnl merged commit bfd521d into 4.x Apr 15, 2025
54 checks passed
@jrfnl jrfnl deleted the phpcs-4.0/feature/abstractsniffunittest-flag-missing-testcase-files-incomplete branch April 15, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants