JUnit
-
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
Java RESTful API integration testing
This post will focus on basic principles and mechanics of writing Java integration tests for a RESTful API (with a…
Read More » -
Enterprise Java
Spring 3 Testing with JUnit 4 – ContextConfiguration and AbstractTransactionalJUnit4SpringContextTests
Looking in the internet for a way to test my Spring 3 application, I found many articles that describe how…
Read More » -
Enterprise Java
Code coverage with unit & integration tests
On a pet project recently I set out to build automated UI (integration) tests as well as the normal unit…
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 » -
Scala
Testing with Scala
When learning a new language or framework one of my early questions is nowadays: What about testing? Obviously I asked…
Read More » -
Core Java
Rules in JUnit 4.9 (beta 3)
Some time ago David Saff announced a beta release of JUnit 4.9. So I guess it is a good point…
Read More »