GithubHelp home page GithubHelp logo

wct-jira-xray's Introduction

wct-jira-xray

A Web Component Tester Plugin to report test results to JIRA over XRAY API. Use this plugin if you want to run Web Component Tests which are associated with JIRA issues and report the Test Execution to JIRA using the JIRA XRAY plugins rest API.

Usage

Install Plugin with npm npm install git+https://[email protected]/Kampfmoehre/wct-jira-xray.git and configure it in wct.conf.json.

Configuration

"plugins": {
    "jira-xray": {
      "jiraHost": "jira.your-company.com",
      "jiraPort": 8080,
      "jiraAuthorization": "Basic somekey"
    }
  }

jiraHost

Type: string The Uri to the Jira instance you want to push the results to

jiraPort

Type: number The Port where the JIRA instance is running

jiraAuthorization

Type: string The content of the authorization header that is used to authorize the request in JIRA

Command Line

You can also specify all options via Command Line. With this you can specify custom fields that your JIRA requires for an issue. Example: Given your JIRA is configured, as such that every issue needs a value for the field version you could give the field as well as its value as additional command line argument by using the format key:value.

The plugin will then append this to the info object which is send to the XRAY rest API and then used to create the Test Execution. When you want to use multiple values you can specify --custom-field Argument multiple times like wct --plugin jira-xray --custom-fields "version:1.2.3" --customFields "yourField:yourValue"

Development

Be sure to run npm run lint before checking in to avoid linter errors.

Test

Run npm run test to execute all unit tests.

wct-jira-xray's People

Contributors

kampfmoehre avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.