Category Archives: Tips

Tip to become a successful software engineer

Never ask a question without a failing test.

| 1 Comment

Do not test private methods

You should only be testing public methods. Private methods are an implementation detail of the object and are subject to heavy change, etc.  Any class, including test fixtures, that care about private methods on another object exhibit the “Inappropriate intimacy” … Continue reading 

Also posted in TDD | 11 Comments

TIP: Check if a web site is down + cool FireFox hack

I was having problems connecting to a web site and I managed to stumble into a web site via Google to check to see if a web site is really down or not (get a second opinion) and I found … Continue reading