From JUnit to SpringUnit Tests

Introduction

Next
To appreciate the benefits and the costs of using SpringUnit, it is useful to consider how a test would be constructed using JUnit alone. In this tutorial, we will start with a JUnit test, then subject it to a sequence of straightforward refactorings that lead in the end to a SpringUnit test.
Next