-
Enterprise Java👁 Image
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👁 Image
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👁 Image
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👁 Image
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-interview-questions-answers
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👁 Image
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👁 Image
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👁 Image
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👁 Image
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 »
