Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ltpquang/xray-reporter

Cucumber plugin to update Test Run status to Xray
https://github.com/ltpquang/xray-reporter

cucumber cucumber-plugin hacktoberfest xray-reporter

Last synced: 26 days ago
JSON representation

Cucumber plugin to update Test Run status to Xray

Awesome Lists containing this project

README

        

# Xray Reporter
**Xray Reporter** is a Cucumber plugin that helps updating Test Run status to Xray.

Before running a test case, Xray Reporter will set the test run status to `EXECUTING`.
After running the test case, it will set the status to the appropriate status `PASS`/`FAIL`.

## Installation

### Maven

**Step 1.** Add JitPack to your repositories

```


jitpack.io
https://jitpack.io

```

**Step 2.** Add Xray Status Updater to your dependencies

```

com.github.ltpquang
xray-reporter
${version}

```

### Gradle

**Step 1.** Add JitPack to your repositories

```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```

**Step 2.** Add Xray Status Updater to your dependencies

```
dependencies {
implementation "com.github.ltpquang:xray-reporter:$version"
}
```

## Usage

Tell Cucumber to use this plugin by specifying fully qualified class name via `@CucumberOptions` (or anyway you want)

```java
@CucumberOptions(
plugin = {
"com.ltpquang.cucumber.plugin.XrayReporter:https://username:[email protected]"
}
)
public class CucumberTest extends CucumberBaseTest {}
```