Mock-ito

JUnit test with Mockito and Spring

It is important to be able to perform some integration testing without requiring deployment to your application server or connecting to other enterprise infrastructure. This could be done in your Spring project by using Spring-test library and Mockito framework.     Photo credit: Honey In this post, I present a simple way to create a mock…

testingFramework

Testing Frameworks

In web application development we focus more and more in test. We find many testing Frameworks like JUnit, DbUnit, Fitnesse, Sceleminum, JsUnit … On one hand, using testing frameworks can be very helpful for integration test and to avoid regressions, but on the other hand, it could cost too much to develop tests. The picture…