Testing
-
Core Java
Injecting Test Doubles in Spring using Mockito and BeanPostProcessors
I’m pretty sure that if you have ever used Spring and are familliar with unit testing, you have encountered a…
Read More » -
Core Java
Imbibing the Fluency of Mockito
I recently found myself writing some code to integrate two disparate platforms. One of these systems is Java based and…
Read More » -
Enterprise Java
Unit Testing of Spring MVC Controllers: REST API
Spring MVC provides an easy way to create REST APIs. However, writing comprehensive and fast unit tests for these APIs…
Read More » -
Software Development
Sometimes TDD Requires a Hammer
While there are myriad mocking libraries available for the Java platform, only a select few of these nifty frameworks is…
Read More » -
DevOps
Performance tests for slow networks with tc
tl;dr: you can easily replicate slow network conditions which makes it easier to performance test them. Smartphones have made both…
Read More » -
Enterprise Java
Run your Unit Tests in Parallel
It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using…
Read More » -
Enterprise Java
Getting Started With Spring’s MVC Test Framework – Part 2
The first blog in this mini-series introduced the Spring MVC Test Framework and demonstrated its use in unit testing Spring MVC…
Read More » -
Enterprise Java
Testing Web-based Spring Applications in 2013 (Part One)
Testing Web-based Spring Applications in 2013 (Part One) A fellow LJCer and TDD/BDD advocate has recently started developing an application using the…
Read More » -
Enterprise Java
Getting Started With Spring’s MVC Test Framework – Part 1
Newly promoted to the main Spring framework is the Spring MVC Test Framework, which the Guys at Spring claim is…
Read More »