-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
TestDox output containing $
at the beginning gets truncated when used with a data provider
#5929
Labels
feature/data-provider
Data Providers
feature/testdox
The TextDox printer/formatter
type/bug
Something is broken
Comments
sebastianbergmann
added
feature/testdox
The TextDox printer/formatter
feature/data-provider
Data Providers
labels
Aug 22, 2024
fredericgboutin-yapla
changed the title
Testdox output containing dollar signs at the beginning gets truncated when used with a data provided
Testdox output containing dollar signs at the beginning gets truncated when used with a data provider
Aug 23, 2024
sebastianbergmann
changed the title
Testdox output containing dollar signs at the beginning gets truncated when used with a data provider
TestDox output containing Sep 6, 2024
$
at the beginning gets truncated when used with a data provider
Thank you @sebastianbergmann, you are the GOAT. |
I do not know what "you are the GOAT" means, but I hope that it is something nice. Anyway, @kubawerlos fixed the issue ... so maybe he is the GOAT? |
I meant "Greatest Of All Time" 😅 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature/data-provider
Data Providers
feature/testdox
The TextDox printer/formatter
type/bug
Something is broken
Summary
Except if I'm mistaken, I see no way to properly escape a dollar sign
$
at the beginning of an argument's value from a data provider when used with testdox output.The problem exists for both annotations and attributes.
Current behavior
The referred variable's value gets truncated in testdox output.
How to reproduce
The testdox output reads,
Expected behavior
"Workaround"
You can aggressively escape the dollar sign but you need to cleanup the asserted value 😞
The text was updated successfully, but these errors were encountered: