Hacker News new | ask | show | jobs
by DAllison 3352 days ago
Since it's buried at the bottom of the stackexchange: #region/endregion is useful for visually grouping Unit Tests per method under test. They're also occasionally useful to group interface implementations.
1 comments

You could just use nested classes for that, with the added benefit that the test framework will reflect that organization in its UX.
The suggestion is appreciated. Thank you.

I have a minor doubt that I won't like the additional level of nesting incurred, but I'll attempt it regardless.