This repository hosts the example projects that are covered in the Arquillian Guides. These projects can be identified by the word "tutorial" in the name. There are several additional examples that demonstrate other functionality in Arquillian. All the projects in this repository are self-contained (they do not use parent projects).
To see an even more comprehensive set of example tests, browse the Arquillian Showcase repository.
Arquillian is an innovative and highly extensible testing platform for the JVM that enables developers to easily create automated integration, functional and acceptance tests for Java middleware.
Find at more at http://arquillian.org
Below is an index of the projects in this repository paired with a brief description.
This project is a starting point for using Arquillian. It has a simple CDI test case that runs against Weld EE Embedded (default), Managed Wildfly 34.x, and Embedded GlassFish 3.1 (out of date).
mvn test
will run the test against Weld EE Embedded.
mvn test -Parquillian-wildfly-managed
will run the test against the latest Wildfly version.
This project is a follow-up to the arquillian-tutorial project. It demonstrates the integration of CDI and EJB with a test case that runs against GlassFish Embedded 3.1 (default), Remote JBoss AS 7.1, Remote GlassFish 3.1 and Managed JBoss AS 7.1.
This project contains a JPA 2 integration test that runs against Embedded GlassFish 3.1 (default), Remote GlassFish 3.1, Managed JBoss AS 7.1 and Remote JBoss AS 7.1.
This project demonstrates the use of Arquillian Drone to drive a Selenium test. It runs against Embedded GlassFish 3.1 (default), Managed JBoss AS 7.1 and Remote JBoss AS 7.1.
This project contains EJB3.1 integration test and runs against Glassfish Embedded 3 container. The projects target is to provide simplest possible setup for this test combination.
This project contains EJB3.1 integration test and runs against JBoss AS 6 Embedded container. The projects target is to provide simplest possible setup for this test combination.
This project contains EJB3 integration test and runs against Apache OpenEJB 3.1 Embedded container. The projects target is to provide simplest possible setup for this test combination.
This is a simple startup project with contains both tests for POJO and EJB running against a variety of containers.
This project is a JPA 1.x lab that experiments with functionality and boundaries of transaction-scoped and extended persistence contexts. It can be run on the OpenEJB 3.1 Embedded container with either OpenJPA, Hibernate or EclipseLink as the JPA provider.
This project demonstrates how to use JSFUnit with a Servlet container.
This project demonstrates the use of XA DataSources that enlist in a distributed transaction within an Arquillian test.