Thursday 3rd June, 2010
4:00pm to 4:20pm
Unit tests and mocks can only go so far to ensure the accuracy of your code. Eventually, you'll need to validate that your components behave in a real runtime environment, a style of testing referred to as integration testing. This talk showcases Arquillian, a new testing project developed at JBoss.org that empowers the developer to write integration tests for business objects that are executed inside an embedded or remote container--whether it be a servlet container, a Java EE application server or a local CDI environment (Weld SE).
Arquillian builds on familiar testing frameworks (JUnit and TestNG) and allows tests to be run with existing IDE, Ant and Maven test plugins, minimizing the burden on the developer to perform integration testing. And since the environment in which the tests are run is pluggable and easily swapped, the developer is not locked-in to a proprietary testing container.
This brief presentation will cover all the steps to get started with Arquillian, from project setup to your first green bar. Those steps involve:
The talk wraps up by giving the audience insights into the future of Arquillian (as the core for Seam 3 Test and the JSR-299 TCK), planned container support and how Arquillian can be extended to suit unanticipated testing needs.
Writing a test for a business object that relies on enterprise services should not create pause. You should be able to write "integration" tests just like you would test a simple calculator class. Arquillian gives you that experience. Attend this talk to learn how to do real Java EE testing.
Senior Software Engineer at Red Hat, Arquillian Project Lead. bio from Twitter
Sign in to add slides, notes or videos to this session