testcafe-reporter-cucumber-json | TestCafe reporter to generate json | Functional Testing library
kandi X-RAY | testcafe-reporter-cucumber-json Summary
kandi X-RAY | testcafe-reporter-cucumber-json Summary
TestCafe reporter to generate json in cucumber format
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of testcafe-reporter-cucumber-json
testcafe-reporter-cucumber-json Key Features
testcafe-reporter-cucumber-json Examples and Code Snippets
Community Discussions
Trending Discussions on testcafe-reporter-cucumber-json
QUESTION
How could I ovverride the json file generated while executing the command -
...ANSWER
Answered 2022-Mar-14 at 08:26The testcafe-reporter-cucumber-json
reporter is not officially supported by TestCafe.
Currently, it seems like there is no way to achieve the required behavior by the reporter's existing options. I advise you to send a PR with the required functionality to the reporter's repository. Or you can also create your own fork, add the required functionality to it, and start using this fork instead of the original reporter.
Here's what I recommend doing:
- Add a new command line argument, e.g.
--reporter-json-file-name
(similar to--reporter-json-folder
). This argument should set the name for the result report file. - Add the logic in the
writeJsonFiles
method. This method should take into account your command line argument to skip creating a unique report file name and use the name that was set by the added command line argument for all generated reports.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install testcafe-reporter-cucumber-json
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page