1.0.12 • Published 8 years ago

mocha-rp-reporter v1.0.12

Weekly downloads
67
License
ISC
Repository
github
Last release
8 years ago

Mocha reporter for EPAM report portal

This is mocha runtime reporter for EPAM report portal.

It was designed to work with mocha programmatically, in order to be able to parametrize each test run.

Instalation steps:

npm install mocha-rp-reporter

How to use:

const Mocha = require("mocha");
let mochaMain = new Mocha({    
    reporter: 'mocha-rp-reporter',
    reporterOptions: {
        configFile: "path to config.json",
        configOptions: {
            endpoint: "EPAM report portal api url",
            username: "user",
            password: "password",
            launch: "execution name",
            project: "project name",
            tags: [
                "tag1", "tag2"
            ]
        }                        
    }
});

config.json should look like this:

{
  "endpoint": "EPAM report portal api url",
  "username": "user",
  "password": "password",
  "launch": "execution name",
  "project": "project name",
  "tags": [
    "tag1", "tag2"
  ]
}

By default reporter will use configOptions otherwise will try to load file from configFile

######WARNING: Test execution will slow down due to sync request to RP

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago