Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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
@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.

2 participants