Testing
-
Enterprise Java
Testing Spring & Hibernate Without XML
I’m very keen on the improvements in Spring 3 that eventually let you move away from XML into plain Java…
Read More » -
Enterprise Java
Answering with Mockito
When you are writing unit tests, you must keep in mind to not have dependencies to external components. To avoid…
Read More » -
Enterprise Java
Extending JMeter with a WS-Trust/STS sampler
JMeter does not have any inbuilt support for WS-Security or WS-Trust and that made me develop this STS Sampler for…
Read More » -
Enterprise Java
Extending JMeter with a password digest generator
Recently I had to work on loading an OpenLDAP instance with 50,000 user records and carry on some stress testing.…
Read More » -
Enterprise Java
Integration tests with Maven 3, Failsafe and Cargo plugin
Unit testing is available in Maven out of the box. Because of that very often its used for integration tests…
Read More » -
Enterprise Java
Categorize tests to reduce build time
Before we progress with the main content of the article, let’s get a few definitions out of the way. Unit…
Read More » -
Enterprise Java
Tomcat Context JUnit @Rule
A first draft of a JUnit @Rule that create the test context. This can be used with the Spring context…
Read More » -
Enterprise Java
Mockito – Better error messages on NPE with globally configured SmartNull
Writing the Mockito reference card I had an opportunity to take a closer look at the less popular, but very…
Read More » -
Enterprise Java
Spring MVC Integration Tests
An approach to Integration Testing the controllers in Spring MVC is to use the Integration Test support provided by Spring.…
Read More »