Introduction

Bulb for JIRA is a JIRA plugin which displays information about your automated tests along with your JIRA issues. It makes test automation coverage transparent even to non-technical team members.

Plugin REST services

Data import REST service

Details to use the REST service:

List tests REST service method

Details to use REST service:

NOTE: JIRA secures REST service methods with basic authentication - make sure you pass JIRA credentials of user with appropriate rights.

Setup using Maven

Add bulb maven plugin to your project

<build>
    <plugins>
        ...
        <plugin>
            <groupId>org.bulbit.maven</groupId>
            <artifactId>bulb-maven-plugin</artifactId>
            <version>1.0.1</version>
            <configuration>
            </configuration>
            <executions>
                <execution>
                    <phase>test</phase>
                    <goals>
                        <goal>testreport</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        ...
    </plugins>
</build>

Document relation between issues and tests

Start first line of test comment with prefix “Tickets: “, finish it with comma separated list of tickets to what test relates.

/**
 * Tickets: ZSA-4, ZSA-1
 * Create claim
 * Go to claim detail page
 * Upload claim document to it
 * Check that email has been sent to the customer
 * @see Something
 */
@Test
public void testUpload() {
}

Run maven build

On next run of mvn clean install maven plugin will export rests report to file trackerTestReport.xml under the target directory.