Archive for January, 2011
How to add Unit Testing to a Legacy Project
Written by Chad Darby Sunday, 30 January 2011
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.
Posted under Agile, Test Driven Development | No Comments
Tomcat 7 Finalized
Written by Chad Darby Wednesday, 26 January 2011
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!
- Tomcat 7 Finalized
- Source: JavaWorld
Tags: Tomcat | Posted under Tomcat | No Comments
Essential Eclipse Shortcuts
Written by Chad Darby Tuesday, 25 January 2011
A collection of essential Eclipse shortcuts.
Eclipse NavigationTask | Shortcut |
---|---|
Find Java Type | Ctrl + Shift + T |
Find File | Ctrl + Shift + R |
Editor Drop-Down | Ctrl + E |
Quick Outline | Ctrl + O |
Quick Hierarchy | Ctrl + T |
Open Call Hierarchy | Ctrl + Alt + H |
Code completion | Ctrl + Space |
Organize Imports | Ctrl + Shift + O |
Open Declaration | F3 |
Task | Shortcut |
---|---|
Refactor Quick Menu | Alt + Shift + T |
Rename | Alt + Shift + R |
Extract Local Variable | Alt + Shift + L |
Extract Method | Alt + Shift + M |
Change Method Sig | Alt + Shift + C |
Format Code | Ctrl + Shift + F |
Show References | Ctrl + Shift + G |
Find Occurrences in File | Ctrl + Shift + U |
Show Sources Menu | Alt + Shift + S |