Arquillian Extension Jacoco 1.0.0.Alpha9 Released

The Arquillian team is proud to announce the 1.0.0.Alpha9 release of the Arquillian Extension Jacoco component!

Highlights in this release

Filtering improvements

We have fixed and extended filtering capabilities in JaCoCo extension. If you don’t specify any includes nor excludes JaCoCo will try to instrument every single class it can find on the classpath. This is not only time consuming but might lead to some issues.

At the end of the day most of the times you are not interested in coverage for external libraries. With simple configuration like the one below you can control classes and packages.

<?xml version="1.0" encoding="UTF-8"?>
<arquillian
  xmlns="http://jboss.org/schema/arquillian"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="
        http://jboss.org/schema/arquillian
        http://jboss.org/schema/arquillian/arquillian_1_0.xsd">

  <extension qualifier="jacoco">
    <property name="excludes">my.package.some.*</property>
    <property name="includes">my.package.some.include.*,fully.qualified.class.name.MyClass</property>
  </extension>
        
</arquillian>

In case of conflicting patterns in excludes and includes, excludes always wins.

Important change: Upgraded to Jacoco version 0.7.8

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.

Release details

Component Arquillian Extension Jacoco
Version 1.0.0.Alpha9 view tag
Release date 2017-01-09
Released by Bartosz Majsak
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-jacoco jar javadoc pom

Release notes and resolved issues 5

Feature Request
  • ARQ-1967 - Support 'alternative' deploy of ASM in Jacoco
  • ARQ-2054 - Update Dependencies
Bug
  • ARQ-1684 - Jacoco extension filters do not work as advertised
  • ARQ-1931 - Arquillian jacoco extension throws NullpointerException when using 'createFromZipFile'
  • ARQ-2069 - JaCoCo include/exclude configuration does not support multiline

Thanks to the following list of contributors: Bartosz Majsak, Hemani, Aslak Knutsen, Dipak Pawar, Andreas Weise