This presentation addresses the missing link in Enterprise Java development: simple, easy integration testing. You will learn how the simplified component model of Java EE can be applied to testable development.
Unit tests and mock objects will only take you so far, but the only answer which truly ensures that all components are playing nicely is a comprehensive integration suite. Unfortunately, writing integration tests has historically involved manual setup of a heavy, cumbersome test harness. That’s time lost, but it doesn’t have to be anymore.
Arquillian is a powerful container-oriented open source testing framework layered atop TestNG and JUnit. Arquillian manages your runtime, abstracting out deployment and allowing you to focus on real test logic. The presentation covers:
* Transparent container lifecycle management
* Declarative deployments
* Test Enrichment (Dependency injection intotests)
* In-container test execution
Video Producer: Javazone Conference