2.1.2 • Published 4 years ago

xray-jira-reporter v2.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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)

2.1.2

4 years ago

2.1.1

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago