Besides the core injection capabilities of Arquillian, a number of extensions exist that can provide additional injection points within your test cases.
Several extensions exist to support injection of more proprietary injection technologies. This focuses around Spring, since it is a popular framework and will be used when Warp is reviewed in Chapter 7, Functional Application Testing.
In order to demonstrate Spring integration, a separate project exists; take a look at the arquillian-chapter5-spring
project to see the example code. The Arquillian Spring Extension supports annotation-driven and programmatic bootstrapping of Spring as well as classic XML-based configuration. This gives you better diversity when building your archive. For the sake of these examples, the container in use is Tomcat 6 managed, and you should have CATALINA_HOME
set prior to running the examples. This allows us to separate the classpath entries from the...