Repository navigation
Resolve relative labels independently of parameter ID syntax - #273
Merged
mrbean-bremen merged 3 commits intoOct 29, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #273 +/- ##
==========================================
+ Coverage 98.21% 98.22% +0.01%
==========================================
Files 5 5
Lines 671 675 +4
Branches 142 142
==========================================
+ Hits 659 663 +4
Misses 3 3
Partials 9 9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| ## Unreleased | ||
|
|
||
| ### Fixes | ||
| * Relative ordering resolves whole-test labels when parameter IDs contain brackets or node separators. |
Member
There was a problem hiding this comment.
Please also add a reference to the issue.
mrbean-bremen
force-pushed
the
codex/272-parameter-id-labels
branch
from
October 29, 2026 17:31
473e3f5 to
3e70018
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #272.
Relative references such as
order(after="test_source")currently fail when the referenced test has parameter IDs containing nested brackets or::. The marker is ignored and dependent tests execute too early. Use pytest's original function name to identify the unparameterized node, retaining the actual full node ID for item identity. Class-label matching also ignores parameter contents.Add regressions for module and class methods, before/after relationships, class labels, nested brackets, IPv6-like IDs,
::()and slash-containing IDs. This preserves the documented whole-test reference behavior; it does not add support for referencing individual parameter cases.Validation on macOS, Python 3.12.14 / pytest 9.2.0:
pytestreproduction changes from 1 failure + 1 pass to 2 passes.git diff --checkpasses.Linux/Windows and the full supported Python/pytest matrix were not run locally. Hosted CI remains pending.
AI-assisted implementation, testing and review.
Changelog reference validation: the release note now links Issue #272. Applicable configured pre-commit checks for CHANGELOG.md and git diff --check pass. Runtime code, configuration and tests are unchanged from
86ce35847ef4caaede4228ba16fae1d94a680d39; the previously reported 166-test runs in both environments remain bound to that SHA and were reused, not rerun for this documentation-only commit.