News for hackers. Stuff that matters.
Re:How deep are your unit tests? by meaty on Monday December 10, 2012 @06:55AM (#4898619)
I do this. In fact, for a lot of what I do, assertions are good enough to catch any issues early. That and integration tests are probably more valuable than religious unit tests.

The advantage with assertions as well, is if you leave them on in production, when an issue hits, you know about what it is straight away and can fix.

Many of our system errors are fixed and deployed before the user has finished raising the issue.

There are no comments on this comment yet.