FIRST Principles for Writing Good Unit Tests

Last Updated:

In any application, which solves real-world problems, having problems in its unit tests – is the least desirable thing. Good written tests are assets while …

How you should unit test DAO layer

Last Updated:

If you are working in a project built on Spring, hibernate or JPA, and you want to unit test it’s data access layer (DAO) then …

Top 8 Signs of Bad Unit Testcases

Last Updated:

If you have been in software development for a long time, then you can easily relate with the importance of unit testing. Experts say that …

SOLID Principles

Last Updated:

Learn SOLID principles in Java with examples. Single Responsibility Principle, Open Closed Principle, Liskov’s Substitution Principle, Interface Segregation Principle, Dependency Inversion Principle.

Top 20 Java Exception Handling Best Practices

Last Updated:

Learn the top Java exception handling best practices to follow in any Java application. These best practices are application for kind of java applications.

JUnit Best Practices Guide

Last Updated:

I am assuming that you know the basics of JUnit. If you do not have the basic knowledge, first read JUnit tutorial (Updated for JUnit …

HowToDoInJava

A blog about Java and its related technologies, the best practices, algorithms, interview questions, scripting languages, and Python.