xjr
xray-jira-reporter
npm i xray-jira-reporter
xjr

xray-jira-reporter

A wrapper over xray jira reporter with axios library

by Javed Ali

2.1.2 (see all)License:MITTypeScript:Not Found
npm i xray-jira-reporter
Readme

xray-jira-reporter

NPM version

A wrapper over axios library to import xray for jira

Installation

$ npm install --save xray-jira-reporter

API

Create A Client

const xRayJiraReporter = require("xray-jira-reporter");

// Initialize
const options = {
  xrayUrl: 'https://<project url>/rest/raven/1.0/import/execution/cucumber',
  authorization: '<authentication type / key>',
  cucumberReportJsonFile: 'folderpath/cucumber_report.json',
};
xRayJiraReporter.report(options);

To import the results in specific jira test execution object

Must add a feature tag as @TestExecID

@TestExecID
Feature:  This is a sample feature

//Add jira test execution object key

const options = {
  xrayUrl: 'https://<project url>/rest/raven/1.0/import/execution/cucumber',
  authorization: '<authentication type / key>',
  cucumberReportJsonFile: 'folderpath/cucumber_report.json',
  testExecutionID: 'JIRA-12345',

};
xRayJiraReporter.report(options);

License

Copyright (c) 2020, Javed Ali (MIT License)

Downloads/wk

24

GitHub Stars

14

LAST COMMIT

2yrs ago

MAINTAINERS

1

CONTRIBUTORS

1

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
2.1.2
latest
2yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate