0.2.4 • Published 5 years ago

mocha-reportportal-agent v0.2.4

Weekly downloads
9
License
ISC
Repository
github
Last release
5 years ago

mocha-rp-agent

Agent for integration Mocha with ReportPortal. ReportPortal ReportPortal on GitHub

How to use

  1. Install the agent in your project:
npm i mocha-reportportal-agent --save-dev
  1. Add reporter to mocha options:
    javascript
    mochaOpts: {
        colors: true,
        reporter: 'mocha-reportportal-agent',
        reporterOptions: {
            // client settings
            token: "00000000-0000-0000-0000-000000000000",
            endpoint: "http://your-instance.com:8080/api/v1",
            launch: "LAUNCH_NAME",
            project: "PROJECT_NAME",
            // agent settings
            attachScreenshots: true,
            showPassedHooks: false
        },
        timeout: 600000
    },

Settings

Agent settings consist of two parts:

  • Client settings can be viewed here
  • Agent settings are described below
ParameterDescription
attachScreenshotsIt is 'true' or 'false', if set 'true' then attempts will be made to attach screenshots to the logs. Default: 'true'.
showPassedHooksIt is 'true' or 'false', if set 'true' then attempts will be made to add passed hooks to the logs. Default: 'false'.

Copyright Notice

Licensed under the GPLv3 license (see the LICENSE.txt file).

0.2.4

5 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago