wdio-allure-addons-reporter

0.0.4 • Public • Published
  • Welcome to WDIO-ALLURE-ADDONS-REPORTER

    Based on wdio-allure-reporter

    Allow to use more Allure options ( test descr, features, stories, environment, arguments, severity, issue, subSteps, attachments )

    Added event listener :


    • test:meta : manage testcase meta-data for allure

    meta : { (mandatory) cid : ..., (mandatory) event : 'test:meta' (optional) description : string (optional) feature : string | array (optional) strory : string | array (optional) issue : string | array (optional) severity : [ 'blocker','critical','normal','minor','trivial' ] (optional) argument : {name: value, name2: value } (optional) environment : {name: value, name2: value } }


    • step:start : start a new sub step

    start : { (optional) title : string }


    • step:end : close current step

    end : { (optional) status : passed, failed ( default : passed ) }


    • test:attach : attach resource to test

    attachment : { cid: ..., event: 'test:attach', title: string, file: string, type: string }


    • test:log : log message with optional details

    log : { cid: ..., event: 'test:log', message: string, detail: object }


  • Install reporter with npm

npm install wdio-allure-addons-reporter --save

  • Usage wdio.conf.js :

    reporters: [..., 'allure-addons'], reporterOptions: { 'outputDir': 'outputDir', 'allure-addons': { outputDir: 'allure-results', debug: true, debugSeleniumCommand: true } },

Package Sidebar

Install

npm i wdio-allure-addons-reporter

Weekly Downloads

35

Version

0.0.4

License

MIT

Last publish

Collaborators

  • evry.collin