Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

Arquillian for Infrastructure Testing

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Matthew Casperson
Word Count
3,897
Language
English
Hacker News Points
-
Summary

The blog post by Matthew Casperson explores the use of Arquillian for infrastructure testing, highlighting its capability to manage multiple Java application server configurations, including WildFly, Red Hat JBoss EAP, and Tomcat, among others. The author explains how Arquillian, combined with the Octopus tool, facilitates testing across various server environments by integrating with unit test libraries like JUnit and running tests directly from Maven. The post details the configuration process required in the Maven POM file and highlights the use of Arquillian Chameleon to manage different containers, demonstrating how to set up profiles for specific server versions like Tomcat 8 and WildFly 9. The testing approach is exemplified through a simple HTTP GET request to verify server functionality, emphasizing the benefit of testing code as a client to the application servers rather than deploying code within them. The article concludes by underscoring the efficiency of using Arquillian for testing diverse application server versions, enhancing the integration between Octopus and Java application servers.