-
Enterprise Java
Creating Stubs for Legacy Code – Testing Techniques 6
Any one who reads this blog will probably have realised that at present I’m working on a project that contains…
Read More » -
Enterprise Java
Unit Testing Using Mocks – Testing Techniques 5
My last blog was the fourth in a series of blogs on approaches to testing code, demonstrating how to create…
Read More » -
Enterprise Java
Regular Unit Tests and Stubs – Testing Techniques 4
My last blog was the third in a series of blogs on approaches to testing code and discussing what you…
Read More » -
Enterprise Java
What Should you Unit Test? – Testing Techniques 3
I was in the office yesterday, talking about testing to one of my colleagues who was a little unconvinced by…
Read More » -
Enterprise Java
The Misuse of End To End Tests – Testing Techniques 2
My last blog was the first in a series of blogs on approaches to testing code, outlining a simple scenario…
Read More » -
Enterprise Java
Testing Techniques – Not Writing Tests
There’s not much doubt about it, the way you test your code is a contentious issue. Different test techniques find…
Read More » -
Core Java
Mock Static Methods with PowerMock
In a recent blog, I tried to highlight the benefits of using dependency injection and expressing the idea that one…
Read More » -
Enterprise Java
Everybody Knows About MVC…
From a recent blog, you may have gathered that I’ve recently been conducting some interviews and as they were for…
Read More » -
Core Java
Testing an Object’s Internal State with PowerMock
Most unit testing focuses on testing an object’s behaviour in order to prove that it works. This is achieved by…
Read More »