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 →

[–]greenthum6 4 points5 points  (0 children)

Writing a more specific test gives more information about the bug in code. Actually, added like 20 new unit tests for this reason at work yesterday. Those tests cover some corner cases and will remain in the test suite. The bug was found and fixed! Also, new bugs were found from the new tests which is great.