java Archive

Who Wants to Test Anyway?

In enterprise Java application development, software testing often is treated very much as poor relations. But for more than ‘Hello World’ applications testing is not just nice to have (at the end of the project) rather than

Test-Driven Development With JUnit

This tutorial show you how to use the open source JUnit testing tool for Java to do Test-Driven Development (TDD). The promise of Test-Driven development is better software by thinking through how you want to test it,

How to Test Time In Java

We all know we should have unit tests for most of our Java code. But how do you test your functionalities that are depending on time?

From jUnit to Mutation-Testing

JUnit is a well-known tool for java developers in the area of TD where it is accepted that code coverage can be measured. In this case we distinguish between coverage on the level of classes, methods and

Arquillian Cube: Unit Tests Against Docker

Arquillian driven testing, and the advantages it brings in regards to ensuring application stability, is becoming more widely known. If you are not already using Arquillian then you are likely to be testing yourself rather than your