Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • What if a class has a static initialized property that throws after second initialization? Commented May 10, 2021 at 22:09
  • it sounds like a commonality of your examples is that they are tests that fail for reasons other than having identified something broken that needs fixing. so that the failing test itself is a flaw when it's supposed to be helpful. Commented Jul 30, 2023 at 23:15
  • @DaveCousineau: Most of the examples have to do with code design. A bad code design can make tests brittle. Only items 1, 4 and 12 have to do specifically with bad tests. Commented Jul 31, 2023 at 0:02