You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being able to save mochawesome and junit reports with same filename parameter.
Actual behavior
I am able to set mocha-junit-reporter XML report but unable to set filename for mochawesome HTML and JSON reports while working with mochawesome and mocha-junit-reporter
Ideally what I would like to do is save mochawesome and junit report with the same filename specified in the CLI command (not JSON file) since I need to pass them unique IDs for filenames.
Running the following command results in MOCHA_FILE=burek.xml <mocha-test-cmd> --reporter-options reportFilename=awesomereport
[mochawesome] Report JSON saved to /mochawesome-report/mochawesome.json
[mochawesome] Report HTML saved to /mochawesome-report/mochawesome.html
burek.xml created
I tried with --reporterOptions but I get the same output. Am I doing something wrong? I'am utterly lost at this point so any help is greatly appreciated!
Expected behavior
Being able to save mochawesome and junit reports with same filename parameter.
Actual behavior
I am able to set
mocha-junit-reporter
XML report but unable to set filename for mochawesome HTML and JSON reports while working withmochawesome
andmocha-junit-reporter
Ideally what I would like to do is save mochawesome and junit report with the same filename specified in the CLI command (not JSON file) since I need to pass them unique IDs for filenames.
Running the following command results in
MOCHA_FILE=burek.xml <mocha-test-cmd> --reporter-options reportFilename=awesomereport
I tried with
--reporterOptions
but I get the same output. Am I doing something wrong? I'am utterly lost at this point so any help is greatly appreciated!Information about the Issue
My
mocharc.json
file contentsPackages:
The text was updated successfully, but these errors were encountered: