Maven plugin to create test runs on Testrails

Simple Maven plugin to create and close test runs on Testrail (http://www.gurock.com/testrail)

Лицензия

Лицензия

Категории

Категории

IDE Инструменты разработки Maven Компиляция и сборка
Группа

Группа

io.github.martinschneider
Идентификатор

Идентификатор

testrail-maven-plugin
Последняя версия

Последняя версия

1.1
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Maven plugin to create test runs on Testrails
Simple Maven plugin to create and close test runs on Testrail (http://www.gurock.com/testrail)
Система контроля версий

Система контроля версий

https://github.com/martinschneider/testrail-maven-plugin

Скачать testrail-maven-plugin

Как подключить последнюю версию

<plugin>
    <groupId>io.github.martinschneider</groupId>
    <artifactId>testrail-maven-plugin</artifactId>
    <version>1.1</version>
</plugin>

Зависимости

compile (8)

Идентификатор библиотеки Тип Версия
com.codepine.api : testrail-api-java-client jar 2.0.0
org.slf4j : slf4j-api jar 1.7.25
org.slf4j : slf4j-log4j12 jar 1.7.25
org.apache.maven : maven-plugin-api jar 3.5.3
org.apache.maven : maven-project jar 3.0-alpha-2
javax.xml.bind : jaxb-api jar 2.2.11
com.sun.xml.bind : jaxb-core jar 2.2.11
com.sun.xml.bind : jaxb-impl jar 2.2.11

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.5.1

Модули Проекта

Данный проект не имеет модулей.

Build status Buy me a coffee

testrail-maven-plugin

This plugin allows creating and closing testruns on a Testrail project. It can be used as a wrapper around the execution of automated tests which will update the created testrun.

Configuration

<?xml version="1.0" encoding="UTF-8"?>
<build>
  <plugins>
    <plugin>
      <groupId>io.github.martinschneider</groupId>
      <artifactId>testrail-maven-plugin</artifactId>
      <version>1.1</version>
      <configuration>
        <url>http://demo.testrail.io</url>
        <username>user</username>
        <password>pw</password>
      </configuration>
      <executions>
        <execution>
          <id>testrail-create</id>
          <phase>initialize</phase>
          <goals>
            <goal>create-run</goal>
          </goals>
          <configuration>
            <projectId>${projectId}</projectId>
            <suiteId>${suiteId}</suiteId>
            <planId>${planId}</planId>
            <testRunName>${testRunName}</testRunName>
          </configuration>
        </execution>
        <execution>
          <id>testrail-close</id>
          <phase>verify</phase>
          <goals>
            <goal>complete-run</goal>
          </goals>
          <configuration>
            <runId>${runId}</runId>
          </configuration>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>

Usage

mvn verify -DprojectId=1 -DsuiteId=2

This will create a testrun (in the project with id 1 under the test suite with id 2) and set its id as a parameter for subsequent Maven plugins (in the initialize phase of the Maven lifecycle). For example, you can use this to update the test run with the results of your test executions (in the test phase). Finally (in the verify phase), the test run is closed.

Contact

Martin Schneider, mart.schneider@gmail.com

Buy me a coffee

Версии библиотеки

Версия
1.1
1.0