Skip to content

ref(grouping): Clarify and add to xfail parameterization tests#109693

Merged
lobsterkatie merged 8 commits intomasterfrom
kmclb-refactor-and-add-broken-parameterization-tests
Mar 2, 2026
Merged

ref(grouping): Clarify and add to xfail parameterization tests#109693
lobsterkatie merged 8 commits intomasterfrom
kmclb-refactor-and-add-broken-parameterization-tests

Conversation

@lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Mar 2, 2026

In our test suite for message parameterization, we primarily test cases which are working as expected, but we also have two xfail tests to document cases where the parameterizer doesn't currently behave as we'd like it to. This serves as a rough TODO list, and lets us document cases we know we want to improve.

This PR does a small refactor of those tests, and adds a number of new test cases. Key changes:

  • Since the two tests are identical, combine them into one.

  • Pull the now-greatly-expanded set of test cases out into a variable to match the format of the good and experimental cases.

  • Add an actual parameter to the test, so we can document the current parameterization behavior, and test against it as well.

  • For ease of understanding, switch from using an xfail test testing == to using a passing test testing !=.

@lobsterkatie lobsterkatie marked this pull request as ready for review March 2, 2026 19:46
@lobsterkatie lobsterkatie requested a review from a team as a code owner March 2, 2026 19:46
@lobsterkatie lobsterkatie merged commit 0fc74d5 into master Mar 2, 2026
70 checks passed
@lobsterkatie lobsterkatie deleted the kmclb-refactor-and-add-broken-parameterization-tests branch March 2, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants