Skip to Content
Testing Java Microservices
book

Testing Java Microservices

by Andy Gumbrecht, Jason Porter, Alex Soto
August 2018
Intermediate to advanced content levelIntermediate to advanced
296 pages
10h 7m
English
Manning Publications
Content preview from Testing Java Microservices

Appendix. Masking multiple containers with Arquillian Chameleon

Testing against several containers (WildFly, Glassfish, Tomcat, and so on) or even switching between different modes (managed, remote, or embedded) invariably results in a bloated pom.xml file. You’ll encounter the following problems:

  • You need to register a specific dependency for each container and mode that you want to test against, which also requires several profiles.
  • In the case of a managed container, you need to download, install, and possibly configure the application server.

Chameleon containers (https://github.com/arquillian/arquillian-container-chameleon) can quickly adapt to your needs without requiring additional dependency configuration. To use this approach, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Enterprise Java Microservices

Enterprise Java Microservices

Kenneth Finnigan
Continuous Delivery in Java

Continuous Delivery in Java

Daniel Bryant, Abraham Marín-Pérez
Cloud Native Java

Cloud Native Java

Josh Long, Kenny Bastani

Publisher Resources

ISBN: 9781617292897Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link