Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Maven plugin for Testrail
https://github.com/martinschneider/testrail-maven-plugin

Last synced: 5 days ago
JSON representation

Maven plugin for Testrail

Awesome Lists containing this project

README

        

[Build status](https://travis-ci.com/martinschneider/testrail-maven-plugin)
[Buy me a coffee](https://www.buymeacoffee.com/mschneider)

# testrail-maven-plugin

This plugin allows creating and closing testruns on a [Testrail](http://www.gurock.com/testrail) project. It can be used as a wrapper around the execution of automated tests which will update the created testrun.

## Configuration

```



io.github.martinschneider
testrail-maven-plugin
1.1

http://demo.testrail.io
user
pw



testrail-create
initialize

create-run


${projectId}
${suiteId}
${planId}
${testRunName}



testrail-close
verify

complete-run


${runId}




```

## 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, [email protected]

[![Buy me a coffee](https://www.buymeacoffee.com/assets/img/guidelines/download-assets-1.svg)](https://www.buymeacoffee.com/mschneider)