Skip to content

Tests should pass in CBF mode #1076

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

Merged
merged 4 commits into from
May 4, 2025
Merged

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented May 4, 2025

Description

SniffsExcludeArgsTest: allow for the test to pass in CBF mode

GeneratorArgTest: skip tests when in CBF mode

DisplayCachedMessagesTest: allow for the tests to pass in CBF mode

GH Actions/tests: safeguard that tests pass in CBF mode

Some tests had sneaked in which would pass in CS mode, but not in CBF mode - at least, not without some tweaks.

CBF specific tests were already being run in CBF mode and run against every supported PHP version.

This commit now adds a test run of the complete test suite in CBF mode against one (high) PHP version to ensure that (new) tests always take both modes into account and no new issues like this can sneak in.

Suggested changelog entry

N/A

jrfnl added 4 commits May 4, 2025 16:40
Some tests had sneaked in which would pass in CS mode, but not in CBF mode - at least, not without some tweaks.

CBF specific tests were already being run in CBF mode and run against every supported PHP version.

This commit now adds a test run of the complete test suite in CBF mode against one (high) PHP version to ensure that (new) tests always take both modes into account and no new issues like this can sneak in.
@jrfnl jrfnl added this to the 3.13.0 milestone May 4, 2025
@jrfnl jrfnl merged commit 726bbc1 into master May 4, 2025
65 checks passed
@jrfnl jrfnl deleted the feature/tests-should-pass-in-cbf-mode branch May 4, 2025 16:02
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.

1 participant