JUnit
-
Enterprise Java
Don’t rely on unit tests alone
When you are building a complex system, barely testing components in isolation is not enough. It’s crucial, but not enough.…
Read More » -
Enterprise Java
Hamcrest Containing Matchers
The Hamcrest 1.3 Javadoc documentation for the Matchers class adds more documentation for several of that class’s methods than were…
Read More » -
Core Java
JUnit test method ordering
Junit until version 4.10 uses the order of test methods in a test class as returned by the reflection API…
Read More » -
Enterprise Java
Using Builder Pattern in JUnit tests
This is not intended to be a heavily technical post. The goal of this post is to give you some…
Read More » -
Core Java
Working Efficiently with JUnit in Eclipse
Recently I was dragged into a discussion1 with some test infected2 fellows about how we use JUnit within the Eclipse…
Read More » -
Core Java
JUnit4 Parameterized and Theories Examples
I always relied on TestNG to pass parameters to test methods in order to give a bit of flexibility to…
Read More » -
Enterprise Java
JUnit Rules
The first time I stumbled over a JUnit @Rule annotation I was a bit irritated of the concept. Having a…
Read More » -
Enterprise Java
Spring MVC Customized User Login Logout Implementation Example
This post describes how to implement a customized user access to an Spring MVC web application (login logout). As a…
Read More » -
Enterprise Java
JUnit Testing Spring Service and DAO (with In-Memory Database)
This post describes how to implement JUnit tests for a Spring Web Application’s Services and DAO. It is built on…
Read More »