Book Image

Arquillian Testing Guide

By : John D. Ament
Book Image

Arquillian Testing Guide

By: John D. Ament

Overview of this book

<p>Integration testing sometimes involves writing complex codes. This book introduces you to the capabilities of Arquillian to enable you to write simple code with a broad range of integration tests for java applications. <br /><br />Arquillian Testing Guide serves as an introductory book to writing simple codes for testing java applications. This book will help you to develop richer test cases which can be run automatically while performing rigorous testing of the software. <br /><br />Arquillian Testing Guide introduces you to Arquillians features and capabilities. This book will help you understand the mechanism of creating deployments and test against those deployments. The book begins with basic JUnit test cases beginning with an enterprise test case, which then go on to discuss remote testing. During the course of the book, you will also learn how to mix container and non-container tests into a single test case. By the end of the book, you will have learned how to extend JUnit tests to work with Arquillian and deploy them to a container automatically.</p>
Table of Contents (17 chapters)

Summary


My main goal in this chapter was to give you an overview of Arquillian and introduce you to some of its core concepts. I will be starting this book with how Arquillian grows over its predecessor frameworks to give you more application integration.

The book will continue with more strategies around testing, validating code coverage, and expanding what you can test in an automated fashion now that you have access to Arquillian. We will spend a few chapters reviewing how Arquillian works with application servers, including how to target new application servers. There is an entire chapter dedicated to debugging problems with your tests as well.

Finally, we wrap up with a strong focus on extensions and how they can help you test your code more thoroughly in an automated fashion. Next, we'll begin to review how exactly the community came to building Arquillian and what tools we've used in the past. We'll start to see that some of these tools are still useful with Arquillian and how mixing mocking and containers can give us some useful results.