Saturday 31st March, 2012
12:15pm to 1:30pm
This presentation unveils the missing link in enterprise Java development: simple, portable integration tests. It introduces a solution in the first half of the session and demonstrates it in the second.
Unit tests and mocks get you only so far. Eventually you need to verify that your components operate and interact correctly in their intended environment—you need integration tests. Yet writing integration tests has meant taking on the barrier of bootstrapping the necessary infrastructure.
Arquillian, a container-oriented testing framework built on TestNG and JUnit, tears down this barrier. It enables you to write portable tests that invoke real components using real enterprise services in a real runtime. In other words, you can write real tests.
Using Arquillian, you can write tests with confidence, knowing fully well that your functionality is tested, as if it were operating in a production environment. Arquillian also ships with powerful extensions for popular libraries that will enable you to bring your existing tests into the container.
Independent Software engineer. Practitioner in Enterprise Java. Loves working on FOSS.
Sign in to add slides, notes or videos to this session