Search
Arquillian

Arquillian

Test in-container!
Arquillian is a revolutionary testing platform built on the JVM that substantially reduces the effort required to write and execute Java middleware integration and functional tests. No more mocks. No more container lifecycle and deployment hassles. Just real tests!

In short...

Arquillian makes integration testing a breeze!

Arquillian brings test execution to the target runtime so you don't have to manage the runtime from the test (or project build). To invert this control, Arquillian wraps a lifecycle around test execution that provides the following services:

  • Manages the lifecycle of one or more containers
  • Bundles the test case, dependent classes and resources as ShrinkWrap archives
  • Deploys the archives to the containers
  • Enriches the test case with dependency injection and other declarative services
  • Executes the tests inside (or against) the containers
  • Returns the results to the test runner for reporting

Arquillian runs with Java 1.5 and above, integrates seamlessly with familiar testing frameworks such as JUnit and TestNG and allows tests to be launched using existing IDE, Ant and Maven test plugins.

Prove it.

Sure thing. Consider an integration test for an EJB. How do you start the container? Deploy the EJB? Get the EJB reference? Run the test in an IDE? Use any EJB container? Arquillian takes care of all that!

Did you think it could be this easy?

That's just the beginning of what's possible!

 

Latest Project Blog Entries

View more latest project blog entries

Latest Community Blogs and Articles

Camel and (JBoss) WildFly 8.x Integration Testing with Arquillian
Mar 31, 2014 1:19 AM
In recent years, a lot of tech have evolved, practices too... In particular, I had the chance to implement a number of agile practices, including TDD a.k.a. Test-Driven Development. TDD is not an easy stuff when you have to create an application implementing databases, mail server and others IT resources, such as legacy systems... because in that event, mocking objects does not really make sense... Tags: arquillian wildfly jboss camel testing author:@sydisnet
StatelessPrime: Testing Radio button group with Arquillian Graphene
Mar 15, 2014 10:06 PM
In the last blog post, I showed you how you can use the Arquillian Graphene Page fragments. It allows you create reusable test components for screen elements. You can encapsulate the required test functionality nicely which result in readable and maintainable test code. But the @Root annotation can only be placed on a single WebElement, so how can you test the radio button input group? Tags: arquillian graphene pagefragment auhtor:@rdebusscher
EE integration testing using Arquillian - trying to solve IT problems
Mar 9, 2014 7:28 PM
Writing tests in a EE environment is a challenge. Compared to test support in spring framework there is some work. Fortunately though, thanks to Arquillian, there is hope. A lot of the complication... Tags: arquillian integration testing author:@joachimvda
View more latest community blogs and articles