Testing
-
Enterprise Java

Stress/Load-Testing of Asynchronous HTTP/REST Services with JMeter
Although I have been using JMeter for stress- and load-testing of web applications a good few times it took us…
Read More » -
Software Development

On Measuring Code Coverage
In a previous post, I explained how to visualize what part of your code is covered by your tests. This…
Read More » -
Enterprise Java

Spring MVC Customized User Login Logout Implementation Example
This post describes how to implement a customized user access to an Spring MVC web application (login logout). As a…
Read More » -
Enterprise Java

JUnit Testing Spring Service and DAO (with In-Memory Database)
This post describes how to implement JUnit tests for a Spring Web Application’s Services and DAO. It is built on…
Read More » -
Enterprise Java

Spring MVC Controller JUnit Testing
JUnit testing Spring MVC controllers is not an easy task. But recently, a new project (to be included in Spring…
Read More » -
Software Development

Opinion: Performance Testing
Performance tuning an application is time consuming, and expensive. Useful tests often need dedicated hardware to run on. It’s specialised…
Read More » -
Enterprise Java

Enhancing Spring Test Framework with beforeClass and afterClass setup
How to allow instance methods to run as JUnit BeforeClass behavior JUnit allows you to setup methods on the class…
Read More » -
Enterprise Java

Testing Custom Exceptions with JUnit’s ExpectedException and @Rule
Exception Testing Why test exception flows? Just like with all of your code, test coverage writes a contract between your…
Read More » -
Enterprise Java

JUnit Pass Test Case on Failures
Why create a mechanism to expect a test failure? There comes a time when one would want and expect a…
Read More »




