RSS Feeds
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
Leave your comment
Bookmarked by
1 Got-News Crawler


Email this story
Bookmark
Open
There is not comment. Be the first to leave a comment.