NeXTSTEP Programming Mastermind

    mocha-reportportal-reporter

    2.0.7 • Public • Published

    Mocha reporter for EPAM report portal [clone of https://github.com/fedoseev-vitaliy/mocha-rp-reporter]

    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.

    Installation steps:

    npm install rp-mocha-reporter

    How to use:

    Fill in reporterOptions.

    const Mocha = require("mocha");
    let mochaMain = new Mocha({
        reporter: 'mocha-rp-reporter',
        reporterOptions: {
            endpoint: "",
            token: "",
            launch: "",
            project: "",
            tags: [] // optional string array of tags
        }
    });

    Run test example:

    For running test example clone agent-js-mocha and fill in reporterOptions.

    In the working directory run:

    1. npm install - that would install all dependencies.

    2. npm test - that would run example tests.

    Install

    npm i mocha-reportportal-reporter

    DownloadsWeekly Downloads

    2

    Version

    2.0.7

    License

    Apache 2.0

    Unpacked Size

    20.6 kB

    Total Files

    10

    Last publish

    Collaborators

    • nick-invision