Testing
-
Enterprise Java

Parameterized JUnit tests
Sometimes you encounter a problem that just screams for using “parameterized” tests rather than copy/pasting the same method many times.…
Read More » -
Software Development

The Test Waste Ratio
Remember the days when bugs were just part of life? I mean a big part. If you recall those dark…
Read More » -
Software Development

Why shouldn’t I test private methods?
Newcomers to TDD ask some interesting questions, hereās one I was asked recently: testing private methods is bad, butĀ why? How…
Read More » -
Enterprise Java

Fast Remote Service Tests
Testing code that interacts with remote services is often pretty hard. There are a lot of tradeoffs that influence what…
Read More » -
Core Java

Getting started with Mocking in Java using Mockito
We all write unit tests but the challenge we face at times is that the unit under test might be…
Read More » -
Software Development

Write effective Unit tests
Soon or later we all experienced the comfortable feeling of test green lights, assuring a non regression after a change…
Read More » -
Software Development

Manual testing sinful?
One of the asides I made in āProgrammers without TDD will be unemployableā which caused a bit of outrage in…
Read More » -
Core Java

Using Reflection for Testing
I am working on a presentation about the āSingle Responsibility Principleā, based on my previous post. It take most of…
Read More » -
Core Java

Testing for expected exceptions in JUnit
Unit tests are used to verify that a piece of code operates as the developer expects it to. Sometimes, that…
Read More »




