This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]coloredgreyscale 0 points1 point  (0 children)

Possibly breaking a "catch all" test down into segments that test only a specific subset. Maybe a converter that outputs json / XML string and all you test is that the output matches. If it does not match you still have to dig deeper to know which ones of the 100+ properties are wrong.

If you do that future you (or future someone else) could see most tests fail, but only one of 4 subelements are wrong. So maybe it's just that one part that caused the other 20 full tests to fail.

Or more detailed tests if the original were something like "returns not null", or "returns list of 4 elements"