News for hackers. Stuff that matters.
Re:100,000 e2e selenium tests? Sounds like a nightmare by matwood on Wednesday May 14, 2014 @01:49PM (#7745038)
Whenever you fix a bug in your code, try to cover it with a unit test. If you can't, ask yourself whether it might be because the code is poorly abstracted.

This, big time. Whenever I get a bug report I first write a test that fails because of the bug. Only then can I a) be sure I understand the bug and why it happened and b) be sure I fixed the bug and finally c) prevent a regression in the future.

Even for people who are not TDD or big on tests in general can make great use out of writing tests to verify and fix bugs.

There are no comments on this comment yet.