@olegyanush/zephyr

1.0.8 • Public • Published

WDIO Enverus Zephyr Scale Integration

About

Getting Started

Once installed it can now be referenced by simply calling

import { ZephyrScaleReporter, ZephyrScaleService, TestCycle } from '@wdio-enverus/wdio-enverus-zephyrscale-reporter';

How to use:

You have just to:

  1. Define configuration for Zephyr Scale Reporter:
const zephyrConfig = {
    url: 'https://api.zephyrscale.smartbear.com/v2/',
    projectKey: '<Jira project key>', // Project key in Jira
    accessToken: '<access token>', // Access token for calling Zephyr Scale API
    executedById: '<identifier of user>', // Identifier of an user what will be assigned to Cycle run as an executor.
    assignedToId: '<identifier of user>', // Identifier of an user what will be assigned to Cycle run.
    ignoreStepCondition: (title) => title.startsWith('[Ignore]'), // Condition for ignoring reporting steps. [OPTIONAL]
    cycleKey: '<Zephyr Scale cycle key>', // Cycle key, if you would like to report test execution to existed Test Cycle. [OPTIONAL]
    stepReporting: true, // Enable or disable steps reporting
    cycle: new TestCycle(
        `<Zephyr Scale cycle name>`,
        '<Zephyr Scale cycle description>')
};
  1. Add ZephyrScaleReporter to WDIO reporters in config:
config.reporters.push([ZephyrScaleReporter, zephyrConfig]);
  1. Add ZephyrScaleService to WDIO services in config:
config.services.push([ZephyrScaleService]);

Readme

Keywords

none

Package Sidebar

Install

npm i @olegyanush/zephyr

Weekly Downloads

2

Version

1.0.8

License

MIT

Unpacked Size

17.1 kB

Total Files

6

Last publish

Collaborators

  • olegyanush