The Arquillian team is proud to announce the 1.0.0.Alpha9 release of the Arquillian Extension Jacoco component!
Highlights in this release
We have fixed and extended filtering capabilities in JaCoCo extension. If you don’t specify any
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>
In case of conflicting patterns in
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.
|Component||Arquillian Extension Jacoco|
|Version||1.0.0.Alpha9 view tag|
|Released by||Bartosz Majsak|