Since we wrote this post we didn't laze around. Check our latest announcement.
The Arquillian team is proud to announce the 1.0.0.Alpha2 release of the Arquillian Portal Extension component!
The Portal extension for Arquillian brings testing into the world of Portlets!
Some of the highlights in this release
URL injection of portlets by name.
@PortalURL now supports defining the names of the portlets that you want rendered on the page of the injected URL. You can either specify a single portlet name, multiple, or leave it empty and it will load all portlets defined within
portlets.xml onto the page. Injecting a URL of a portlet page with the
MyPortlet portlet present is done by:
@ArquillianResource @PortalURL("MyPortlet") URL portletPage;
Annotation for marking portlet tests.
@PortalTest now represents a marker on a test class that signifies to Portal extension implementations that a portlet test is being invoked. This enables for augmenting the test deployment with whatever information is needed for particular portlet containers to enable a portlet to be tested. It has the added benefit of decoupling a test needing to inject a
@PortalURL if the tests don’t require a URL to the portlet page.
For examples on how to use these extensions with their respective portal containers, you can take a look at the testsuite of JBoss Portlet Bridge.
We look forward to hearing your feedback about this release in the community forums!
What is Arquillian?
Arquillian is open source software that empowers you to test JVM-based applications more effectively. Created to defend the software galaxy from bugs, Arquillian brings your test to the runtime so you can focus on testing your application's behavior rather than managing the runtime. Using Arquillian, you can develop a comprehensive suite of tests from the convenience of your IDE and run them in any IDE, build tool or continuous integration environment.
|Component||Arquillian Portal Extension|
|Version||1.0.0.Alpha2 view tag|
|Released by||Ken Finnigan|
Published artifacts org.jboss.arquillian.extension
- org.jboss.arquillian.extension » arquillian-portal-api jar javadoc pom
- org.jboss.arquillian.extension » arquillian-portal-spi jar javadoc pom
- org.jboss.arquillian.extension » arquillian-portal-impl jar javadoc pom
- org.jboss.arquillian.extension » arquillian-portal jar javadoc pom
Release notes and resolved issues 6
- ARQ-1117 - Support Portal URL for specific portlet or several on a page
- ARQ-961 - Error in README for the name of additional URL qualifier