Testing
-
Software Development
Software Quality via Unit Testing
The following post is based on a talk I gave at Desert Code Camp 2013. See also the associated slide…
Read More » -
Enterprise Java
A good, lazy way to write tests
Testing. I’ve been thinking a lot about testing recently. As part of code reviews I’ve done for various projects, I’ve…
Read More » -
Software Development
Testing triangles, pyramids and circles, and UAT
A few months ago Markus Gartner introduced me to the Testing Triangle, or Testing Pyramid. It looks like this: If…
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
Synchronising Multithreaded Integration Tests revisited
I recently stumbled upon an articleSynchronising Multithreaded Integration Tests on Captain Debug’s Blog. That post emphasizes the problem of designing…
Read More » -
Enterprise Java
Simulation of time consuming actions in integration tests
Quite recently in one of my projects I had a situation in which I needed to create an integration test…
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
Hamcrest Matchers, Guava Predicate and Builder design pattern
Often, while coding we have to deal with some POJO objects that have dozens of fields in them. Many times…
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 »