O'Reilly logo

Arquillian Testing Guide by John D. Ament

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Enriching the Enterprise Test Case

In the earlier chapters, we reviewed the container setup and problems you may find when working with those containers. This chapter focuses on test cases, and the enrichment that occurs when using Arquillian in those test cases. The enrichment of your test cases is all about the dependency injection that occurs in your test case. Enrichment is the core of using Arquillian. It allows you to inject resources into your test case for use. This chapter focuses around the introductory information for creating tests that use the dependency injection.

Testing the dependency injection

One of the important things to realize when building Arquillian test cases is that your test cases are essentially components ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required