JUnit
-
Enterprise Java
Write effective Load Tests using JUnit and Repeat annotation
EasyTest recently introduced a new set of annotations that would help its users write effective test cases. The two main…
Read More » -
Enterprise Java
Run your Unit Tests in Parallel
It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using…
Read More » -
Enterprise Java
Unit Testing Tip: Create Descriptive Tests
Your unit tests should be as descriptive as possible. The feedback they give you should be so clear you don’t…
Read More » -
Enterprise Java
JUnit and Mockito cooperation
This time I want to make an overview of testing framework Mockito. Definitely this is one of the most popular…
Read More » -
Enterprise Java
Fault Injection with Byteman and JUnit
The time when our applications lived in isolation have passed long-long ago. Nowadays applications are a very complicated beasts talking…
Read More » -
Enterprise Java
Running JUnit Tests Repeatedly Without Loops
Recently I came across a problem where I had to write tests for a method that calculates randomly distributed values…
Read More » -
Enterprise Java
JUnit: Naming Individual Test Cases in a Parameterized Test
A couple of years ago I wrote about JUnit Parameterized Tests. One of the things I didn’t like about them…
Read More » -
Enterprise Java
JUnit and EasyMock cooperation
Developers always need to take care about code which they produced. They should be ensured that code works properly after…
Read More » -
Core Java
Testing Expected Exceptions with JUnit Rules
This post shows how to test for expected exceptions using JUnit. Let’s start with the following class that we wish…
Read More »