surefire-dashboard-plugin Maven Mojo

A simple maven plugin to generate a synthetic view of your project unit tests status.

License

License

Categories

Categories

Maven Build Tools Net
GroupId

GroupId

net.oualid.maven.plugins
ArtifactId

ArtifactId

surefire-dashboard-plugin
Last Version

Last Version

0.1
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

surefire-dashboard-plugin Maven Mojo
A simple maven plugin to generate a synthetic view of your project unit tests status.
Project URL

Project URL

https://github.com/soualid/surefire-dashboard-maven-plugin
Source Code Management

Source Code Management

https://github.com/soualid/surefire-dashboard-maven-plugin

Download surefire-dashboard-plugin

How to add to project

<plugin>
    <groupId>net.oualid.maven.plugins</groupId>
    <artifactId>surefire-dashboard-plugin</artifactId>
    <version>0.1</version>
</plugin>

Dependencies

compile (3)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.0
commons-io : commons-io jar 2.4
org.apache.maven.reporting : maven-reporting-impl jar 2.2

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3

test (1)

Group / Artifact Type Version
junit : junit jar 3.8.1

Project Modules

There are no modules declared in this project.

surefire-dashboard-maven-plugin

A simple maven plugin to generate a synthetic view of your project unit tests status.

I mainly created it because we needed a way to detect a newly broken test by someone in our team in a blink by using a simple dashboard screen which is auto-refreshed somewhere in our office.

screenshot

Basic usage

<reporting>
    <plugins>
        <plugin>
            <groupId>net.oualid.maven.plugins</groupId>
            <artifactId>surefire-dashboard-plugin</artifactId>
            <version>0.1</version>
        </plugin>
    </plugins>
</reporting>

Configuration

maxTestsPerLine Maximum boxes to show per line (default : 5). webservicesToCallOnError (since 0.2-SNAPSHOT) Webservices to call when a test fail (you can use this to send notifications when a test fail), the {{testname}} string will be replaced by the name of the failing test. Example :

<webservicesToCallOnError>
    <param><![CDATA[https://www.example.com/http2sms.cgi?message=Issue on unit test : {{testname}} !]]></param>
</webservicesToCallOnError>

Versions

Version
0.1