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


As we've seen, ShrinkWrap has a lot of useful classes for creating and manipulating archives. It also has advanced features for managing your Maven dependencies to add to your test cases dynamically. ShrinkWrap is meant to be fluent. The lead developer of the project designs this with an API-first mentality—does this work well for a developer who may be using it? This is how the DSL approach for ShrinkWrap came to be.

Thank you for reading this book! Hopefully you got as much out of reading it as I did from writing it. My goal was to bring you top to bottom on an introductory level to Arquillian to start writing test cases that may deploy to a container.