by Aslak Knutsen and Dan Allen
Arquillian is the missing link in Java EE development. Developers burdened with bootstrapping the infrastructure on which a test depends place a high barrier to entry on integration testing. Arquillian tears down that barrier. It picks up where unit tests leave off, targeting the integration of application code inside a real runtime environment. This session looks at how you can take advantage of the test platform's infrastructure to fit your testing needs. It shows you how to write extensions so you can give your test classes new capabilities, manipulate the packaging process, hide testing framework integration complexity, integrate into the test's lifecycle, integrate with existing test runners, create your own container, and more.
by Aslak Knutsen, Dan Allen and Andrew Lee Rubinger
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.