Markus is a Developer Advocate at Red Hat and focuses on JBoss Middleware. He is working with Java EE servers from different vendors since more than 14 years and talks about his favorite topics around Java EE on conferences all over the world. He has been a principle consultant and worked with different customers on all kinds of Java EE related applications and solutions. Beside that he has always been a prolific blogger, writer and tech editor for different Java EE related books. He is the Java Community leader of the German DOAG e.V. and it's representative on the iJUG e.V. As a Java Champion and former ACE Director he is well known in the community. Markus is a DZone MVB and is not an employee of DZone and has posted 193 posts at DZone. You can read more from them at their website. View Full User Profile

Arquillian 1.0.0 Final Ready for GlassFish and WebLogic: Death to All bugs!

04.11.2012
| 4220 views |
  • submit to reddit
Red Hat, Inc. and the JBoss Community today announced the 1.0.0.Final release of Arquillian, its award-winning testing platform built to run on the Java Virtual Machine (JVM). Arquillian substantially reduces the effort required to write and execute Java middleware integration and functional tests. It even enables test engineers to address scenarios previously considered untestable or too expensive to test.

The 1.0.0.Final release of Arquillian Drone, a key add-on to the platform, is included in this release. Final versions of select container adapters will be released later in the week. ShrinkWrap, a key component of Arquillian, announced its 1.0.0.Final release last week.

Arquillian originated from the test harness developed for the CDI 1.0 (JSR-299) specification in 2009. It spun off as an independent project and has evolved into an extensible testing platform. Coming full circle, the test suite in CDI 1.1 (JSR-346), the next iteration of the CDI specification, has migrated to Arquillian. Other specifications are expected to follow. Arquillian is also used by numerous open source projects, including Hibernate, JBoss AS 7, Drools, RHQ, JClouds and Apache DeltaSpike.

Newest features
Arquillian can manage more than a dozen container vendors, including JBoss AS, GlassFish, WebLogic and Tomcat, and supports running tests in cloud services. The container support allows developers to target a variety of technology platforms, including Java EE 5 and 6, Servlet environments, OSGi, Embedded EJB and standalone CDI. Additional new features include: Orchestration of multiple deployments across multiple containers and domain controllers in a single test Descriptor deployment Assertions for deployment exceptions A new configuration schema that supports multiple configurations per container EL-like evaluation in properties and configuration overrides via Java properties Configuration of protocol used for test execution Explicit ordering of test methods Fine-grained control over the container lifecycle Arquillian’s extensibility is reflected in its growing ecosystem of extensions. The most mature extension, Arquillian Drone, is included in today’s release. Drone is an abstraction over browser controllers such as Selenium and WebDriver that enables the developer to write browser-based tests without having to fuss with the typical setup and plumbing. Other extensions under active development include an Android test controller, DBUnit integration, a SeamTest replacement for testing Seam 2, BDD runners (Spock and JBehave), performance metrics, code coverage (Jacoco) and Arquillian Graphene (a type-safe Selenium API). Expect more extensions to emerge now that the platform has reached a stable release.

GlassFish embedded and managed containers
The complete support for both embedded and managed/remote GlassFish instances is ready and has been updated to 3.1.2. And also latest WebLogic 12c is supported!

How to get it?

The Arquillian platform and extensions are available in the Maven Central and JBoss Community artifact repositories. For a brief overview about what it takes to get your GlassFish project up and running with Arquillian have a look at some of my recent blog posts about it!

The Arquillian project hosts a couple of guides in different languages to get you started. See the complete Reference Guide for all the details. Arquillian is released under the Apache License, v2.0.
Published at DZone with permission of Markus Eisele, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Tags: