Testing
-
Enterprise Java
EasyMock tutorial – Getting Started
In this post, I’m going to show you what EasyMock is and how you can use it for testing your…
Read More » -
Software Development
Testing legacy code: Hard-wired dependencies
When pairing with some developers, I’ve noticed that one of the reasons they are not unit testing existing code is…
Read More » -
Enterprise Java
Test-driving Builders with Mockito and Hamcrest
A lot of people asked me in the past if I test getters and setters (properties, attributes, etc). They also…
Read More » -
Enterprise Java
NoSQLUnit 0.3.0 Released
Introduction Unit testing is a method by which the smallest testable part of an application is validated. Unit tests must…
Read More » -
Enterprise Java
Moving Beyond Core Hamcrest in JUnit
In the post Improving On assertEquals with JUnit and Hamcrest I introduced use of Hamcrest with JUnit. I then looked…
Read More » -
Enterprise Java
Testing Abstract Classes and Template Method Pattern
From wikipedia “A template method defines the program skeleton of an algorithm. One or more of the algorithm steps can…
Read More » -
Enterprise Java
Java EE 6 Testing Part II – Introduction to Arquillian and ShrinkWrap
In Java EE 6 Testing Part I I briefly introduced the EJB 3.1 Embeddable API using Glassfish embedded container to…
Read More » -
Enterprise Java
Java EE 6 Testing Part I – EJB 3.1 Embeddable API
One of the most common requests we hear from Enterprise JavaBeans developers is for improved unit/integration testing support. EJB 3.1…
Read More » -
Enterprise Java
JUnit’s Built-in Hamcrest Core Matcher Support
In the post Improving On assertEquals with JUnit and Hamcrest, I briefly discussed Hamcrest “core” matchers being “baked in” with…
Read More »