Today is Monday, 4th July 2022

Archive for January, 2011

How to add Unit Testing to a Legacy Project

Source: InfoQ

It is always a herculean task to write automated regression tests for a legacy application. The questions vary from where to start, how much to automate and deciding on the best strategy for automation.

Responding to a thread started by Mark Levison on the Agile software testing group, Hubert Matthews suggested that the approach that he recommends is a risk based approach.

You can never test everything so you have to choose where you want to spend your time and money. Testing for me is primarily about information and risk and not about blanket coverage or completeness.

Read Complete post…

Tomcat 7 Finalized

Well, Tomcat 7 is final. I blogged about Tomcat 7 since the early beta days. I am very pleased with this release. I already updated my Learning Tree course to use Tomcat 7.

JavaWorld has an announcement about the Tomcat 7 release with a brief overview. Enjoy!

Essential Eclipse Shortcuts

A collection of essential Eclipse shortcuts.

Eclipse Navigation
Find Java TypeCtrl + Shift + T
Find FileCtrl + Shift + R
Editor Drop-DownCtrl + E
Quick OutlineCtrl + O
Quick HierarchyCtrl + T
Open Call HierarchyCtrl + Alt + H
Code completionCtrl + Space
Organize ImportsCtrl + Shift + O
Open DeclarationF3
Eclipse Refactoring
Refactor Quick MenuAlt + Shift + T
RenameAlt + Shift + R
Extract Local VariableAlt + Shift + L
Extract MethodAlt + Shift + M
Change Method SigAlt + Shift + C
Format CodeCtrl + Shift + F
Show ReferencesCtrl + Shift + G
Find Occurrences in FileCtrl + Shift + U
Show Sources MenuAlt + Shift + S