Java Reference
In-Depth Information
Chapter13.Testing Your Applications
In previous chapters, we covered the most important technologies of the Java EE platform.
However, every professional developer knows that software development should begin
from writing tests. At first, it does not sound easy to be able to verify the correctness of the
execution of EJBs, database-related code, or, for example, REST services but it appears
really straightforward when using the right tools! In this chapter, we will present the funda-
mental testing framework used for Java EE applications testing: the Arquillian. Addition-
ally, we will take a look at its extensions and related libraries.
In this chapter, we will focus on the following topics:
• An introduction to enterprise testing, from mock objects to the Arquillian frame-
work
• How to integrate an Arquillian test case for our ticket machine application
• How to use the Eclipse IDE and Maven shell to run Arquillian tests
• The most important Arquillian extensions and how to use them
Search WWH ::




Custom Search