Testing is an important aspect in every software development process. Applications written with Spring Web Flow are no exception. Luckily, the authors of Spring Web Flow thought the same way and included comprehensive support for unit testing.
Testing your flows requires the JUnit library, version 3.8.x or higher. In the current version of Spring Web Flow (2.0.5), there is no support for testing your flows with TestNG instead of JUnit (see http://forum.springframework.org/showthread.php?t=54914).
You can download JUnit at www.junit.org or use the Maven build tool to download the library automatically. Just add the following tags to your