Skip to content

fix: give each eb-junit case a unique name - #313

Merged
HaoZeke merged 1 commit into
developfrom
fix/junit-case-names
Nov 27, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/junit-case-names

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

fix: give each eb-junit case a unique name

A recorded name can hold a character that the report format
forbids, and eb-junit drops it while escaping. The escaped name
could then match a generated #N suffix on another line, because
disambiguate counted only the recorded name. Two cases came out as
cpu/A.eb #2, and GitLab keeps only the first case with a given
name.

Keep numbering until the escaped name is free.

A recorded name can hold a character that the report format
forbids, and `eb-junit` drops it while escaping. The escaped name
could then match a generated ` #N` suffix on another line, because
`disambiguate` counted only the recorded name. Two cases came out as
`cpu/A.eb #2`, and GitLab keeps only the first case with a given
name.

Keep numbering until the escaped name is free.
@HaoZeke
HaoZeke merged commit 22406ca into develop Nov 27, 2026
8 checks passed
@HaoZeke
HaoZeke deleted the fix/junit-case-names branch November 27, 2026 02:03
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.

1 participant