8000 Refine case names by plioi · Pull Request #355 · fixie/fixie · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Refine case names #355

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 11 commits into from
Oct 18, 2024
Merged

Refine case names #355

merged 11 commits into from
Oct 18, 2024

Conversation

plioi
Copy link
Contributor
@plioi plioi commented Oct 18, 2024

This improves the handling of C# values serialized when building the name of a parameterized case, based on lessons learned during the development of rich serialization in the separate Fixie.Assertions repo.

  1. Bools are serialized with the same lowercase as their keyword.
  2. \uxxxx four-digit unicode escape sequences are used for all control characters and whitespace characters that do not already have a more terse unambiguous representation in char/string literals. Single-character escape sequences and the literal space " " take precedent, otherwise control/whitespace characters appear with \uxxxx format.

plioi added 11 commits October 18, 2024 10:37
… extensions methods tend to be for broad-scope public use.
…s a common test parameter type with a natural serialization.
…ull scope of unicode escape handling or lack thereof can be witnessed at once instead of one special character at a time, and to reduce the risk of the old brittle helper unintentionionally failing to inspect some items (which wasn't happening but easily could).
…aracters and whitespace characters when serializing char/string paramters in case names.
… serializing char/string parameters in case names.
@plioi plioi merged commit 55231c4 into main Oct 18, 2024
1 check passed
@plioi plioi deleted the refine-case-names branch October 18, 2024 18:58
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
0