Skip to content

Instantly share code, notes, and snippets.

@lfryc
Last active December 18, 2015 17:49
Show Gist options
  • Save lfryc/5820718 to your computer and use it in GitHub Desktop.
Save lfryc/5820718 to your computer and use it in GitHub Desktop.
date author
2013-06-20
lfryc

Warp Alpha3 is a last stop to Beta releases which brings mainly enhancements and bug fixes, but also a pretty new documentation:

Documentation Draft

Even though a documentation draft isn’t published yet to the Arquillian site, it is already almost completed.

This documentation describes where is Warp’s place in a space of integration testing, how to start with Warp in your project, what are features supported by Warp API and few words about debugging tests and an extension architecture.

Highlighted Enhancements

Jacoco Support

Thanks to Aris Tzoumas, Warp users can now enjoy coverage reporting using arquillian-extension-jacoco. I must say this contribution was wider than that since it enabled lot of other features.

Meaningful Reporting

The concepts Warp builds upon aren’t really complex, however the implementation needs to make sure that users understand when something breaks. Warp tries to report you as much contextual information
as needed to overcome common issues together with a hint how to resolve an issue.

We also hope to improve reporting even more, but here we rely on you – don’t hesitate to report us when your experience with Warp isn’t as smooth as it should be.

JSF Managed Beans Injection

You can now inject any managed artifact through EL expressions using standard ManagedProperty annotation:

@ManagedProperty("#{facesContext.application}") Application application;

@ManagedProperty(“#{myBean}”) SomeFacesBean myBean;

SPI enhancements

Independent Bi-directional Communication

During an Alpha3 development we have identified many common problems which came down to basics that Alpha2 was built upon: piggy-backing on HTTP request/response and wrapping HttpServletResponse.

In order to overcome those problems, Warp now leverages an internal SPI of bi-directional direct communication between test and server (originally created by Aris as a way to support Jacoco).

This is fundamental change since it change a way how Warp transfers inspections and it also opens completely new possibilities by creating a tigher relationship between a test and a server.

Important Bug Fixes

Do not interferre with non-Warp tests

Warp Alpha2 wasn’t really good citizen and it tried to hook into all tests even though they weren’t annotated by @WarpTest. Those problems should be addressed now.

Enjoy the Release

Alpha3 comes with lot of enhancements which improves experience with an extension, but it also brings some improvements which were needed to support rising REST and SeamTest migration layer extensions driven by Jakub Narloch and Marek Schmidt.

Let us know if we can smoothly enter a Beta releases train!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment