2009 October | DeepakGaikwad.net
Home » Archive

Articles Archive for October 2009

JUnit, Tech Notes »

[21 Oct 2009 | No Comment | ]

Test driven development, automated testing, open source unit testing frameworks, mocking test data, etc. etc. have been buzzing around us for past few years. Most of the Java developers must have used JUnit to write unit test cases at least once. Below are some of the points that I found important while writing JUnit test cases in application development. You can call these as tips, best practices, or whatever you like.

Externalize Data: Move test data out of test classes. You can have helper classes …

Java, Tech Notes »

[8 Oct 2009 | No Comment | ]

Here is a utility that will help you to better use java.util.logging.Logger class. In this utility, I have tried provide the most commonly used features in this utility. In this article, few important features of Java logger framework are also explained in brief while going through the code. I am not going into deep to explain all features of Java logger technology, instead focusing on what this utility will help you with. You can use it as is or customize it according to your advanced needs.
Let us start with the …