Skip to content
Mave plugin to import java tests and results to QuAck
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

Quack Import Plugin

The plugin allows importing testcases to QuAck. All modifications made on testcases in QuAck manually will remain. However, tests from the same Maven project will be reconfigured on import - new will appear, removed will disappear.

Import JUmit4 tests

<plugin>
    <groupId>com.testquack</groupId>
    <artifactId>import-maven-plugin</artifactId>
    <version>1.0</version>
    <configuration>
        <apiToken>abc</apiToken>
        <quackProject>quackui</quackProject>
        <apiEndpoint>http://quack.com/api/</apiEndpoint>
    </configuration>
    <executions>
        <execution>
            <id>quack-testcases-import</id>
            <goals>
                <goal>junit-import</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Import JUmit4 tests results

<plugin>
    <groupId>${project.groupId}</groupId>
    <artifactId>import-maven-plugin</artifactId>
    <version>${project.version}</version>
    <configuration>
        <apiToken>abc</apiToken>
        <quackProject>quackui</quackProject>
        <apiEndpoint>http://quack.com/api/</apiEndpoint>
        <junitXmlResource>${project.build.directory}/surefire-reports</junitXmlResource>
    </configuration>
    <executions>
        <execution>
            <id>quack-results-import</id>
            <goals>
                <goal>junit-results-import</goal>
            </goals>
        </execution>
    </executions>
</plugin>
You can’t perform that action at this time.