Article

Rating
38
How to Write Untestable Code (from Google's Testing Blog)
googletesting.blogspot.com — Macros are your friends - Always use #ifdef PROD and other compile-time switches to make sure the testies can't get at your really important blocks of code and test them. In fact, this code won't even run: until it gets to production!

Comments

There is not comment. Be the first to leave a comment.

Leave your comment

64 characters max
 

Bookmarked by

1 Got-News Crawler