Socket
Book a DemoInstallSign in
Socket

testcafe-reporter-reportportal-plugin

Package Overview
Dependencies
Maintainers
0
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testcafe-reporter-reportportal-plugin

Report Portal TestCafe reporter

latest
Source
npmnpm
Version
0.6.6
Version published
Maintainers
0
Created
Source

This is the reportportal-plugin reporter plugin for TestCafe.

Integrate this Reporter in your project

Install the reporter via NPM

npm i testcafe-reporter-reportportal-plugin@latest --save-dev

Use the reporter in your TestCafe test run

When you run tests from the command line, specify the reporter name by using the --reporter option:

testcafe chrome 'path/to/test/file.js' --reporter reportportal-plugin

OR:

testcafe chrome 'path/to/test/file.js' --reporter=reportportal-plugin

When you use API, pass the reporter name to the reporter() method:

testCafe
    .createRunner()
    .src('path/to/test/file.js')
    .browsers('chrome')
    .reporter('reportportal-plugin') // <-
    .run();

Map of existing CLI Arguments:

RequiredArgumentDescriptionExample
YesrdomainThe domain of the report portal. https://{domain}/--rdomain=reports.pl.portal.com
YesrtokenThe token to auth report portal with. Taken from the 'Profile' of your user.--rtoken=gfkbv5994350mg
YesrlaunchThe name of your launch. Required (Unless replaced by rlaunch-id argument).--rlaunch=my-launch
YesrprojectThe name of your project.--rproject=my-project
Norlaunch-idThe ID of an existing launch, can replace the rlaunch parameter.--rlaunch-id=fjvkdnvjgnf
NorsuiteAn optional suite name, adding a suite will put all tests under the suite instead of directly under the launch.--rsuite=my-suite-name
NorprotocolAn optional ability to override the protocol of the API protocol. {protocol}://{domain}/.--rprotocol=http
Nodisable-live-reportingAn optional ability to disable the live reporting--disable-live-reporting

Testing

Please go to the Testing section in the Contributing README file

Interested in contributing?

Please read our contributing guidelines here

Keywords

testcafe

FAQs

Package last updated on 28 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts