Testing
-
Enterprise Java

Synchronising Multithreaded Integration Tests
Testing threads is hard, very hard and this makes writing good integration tests for multithreaded systems under test… hard. This…
Read More » -
Enterprise Java

Running unit tests and integration tests separately with Maven Failsafe and TestNG
Recently for my new pet project I decided that I would like to have some tests executed during standard mvn…
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 » -
Enterprise Java

Spring Selenium Tests With Annotations
This post describes how to implement Selenium tests in Java. It is inspired from the post by Alex Collins, with…
Read More » -
Software Development

The Differences Between Test-First Programming and Test-Driven Development
There seems to be some confusion between Test-First Programming and Test-Driven Development (TDD). This post explains that merely writing the…
Read More » -
Enterprise Java

Waiting for the right moment – in integration testing
When you have to test multi-threaded programs, there is always the need to wait until the system arrives at a…
Read More » -
Enterprise Java

A Selenium/WebDriver example in Java
A couple of years back, I was pitching for some work and the client wanted to see how I would…
Read More » -
Enterprise Java

How cool is integration testing with Spring and Hibernate
I am guilty of not writing integration testing (At least for database related transactions) up until now. So in order…
Read More » -
Enterprise Java

Running HTTP/REST Integration Tests efficiently in Eclipse
Lately I had a chance to use the OSGi-JAX-RS-Connector library written by my dear fellow Holger Staudacher. The connector enables…
Read More »






