Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🚫 Bug] extester ignores output option from mocarc file #436

Closed
imeliran opened this issue Apr 17, 2022 · 2 comments
Closed

[🚫 Bug] extester ignores output option from mocarc file #436

imeliran opened this issue Apr 17, 2022 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@imeliran
Copy link

Hello,

I have an issue where I referred the extester command to a custom "mocharc" file as described in the following wiki link:
https://github.com/redhat-developer/vscode-extension-tester/wiki/Mocha-Configuration

To simplify things here's how my mocharc.json file looks like:
{
"color": true,
"ui": "bdd",
"reporter": "xunit",
"reporter-option": ["output=doda.xml"]
}

When I run the test using extester command with --mocha_config //mocharc.json I do see in my console the xunit results format, however the file doda.xml is never created. seems like the code ignore that option.
According to official mochajs starting version 9.1.0 they added the out option of reporter-option as described here:
mochajs/mocha#4607

Does anyone make the test results exported into an external file.
I need that support for CI integration.
Thanks in advance,

Eliran

@odockal odockal self-assigned this Apr 19, 2022
@odockal odockal added help-wanted Extra attention is needed question Further information is requested labels Apr 19, 2022
@djelinek djelinek added this to the 4.2.5 milestone Apr 19, 2022
@odockal odockal modified the milestones: 4.2.5, 4.2.6 May 10, 2022
@djelinek djelinek modified the milestones: 4.2.6, BACKLOG May 10, 2022
@djelinek djelinek changed the title extester ignores output option from mocarc file [Request] extester ignores output option from mocarc file Jun 9, 2023
@djelinek djelinek added enhancement New feature or request and removed help-wanted Extra attention is needed question Further information is requested labels Jun 9, 2023
@djelinek djelinek changed the title [Request] extester ignores output option from mocarc file [🚀 Request] extester ignores output option from mocarc file Oct 17, 2023
@djelinek djelinek added this to ExTester Feb 5, 2024
@djelinek djelinek moved this from New to Backlog in ExTester Feb 5, 2024
@djelinek djelinek changed the title [🚀 Request] extester ignores output option from mocarc file [🚫 Bug] extester ignores output option from mocarc file Aug 13, 2024
@djelinek djelinek added bug Something isn't working and removed enhancement New feature or request labels Aug 13, 2024
@djelinek
Copy link
Collaborator

Hello, thank you for reporting issue. Unfortunately I was not able to find out information about xunit reporter and its output option. Are you able to point me to some documentation?

also.. are you able to use output parameter using mocha cli directly? which means it is a problem of extest CLI?

@djelinek djelinek self-assigned this Aug 21, 2024
@djelinek djelinek modified the milestones: BACKLOG, NEXT Aug 21, 2024
@djelinek djelinek moved this from Backlog to In Review in ExTester Aug 21, 2024
@djelinek
Copy link
Collaborator

closing, in case of follow up questions. Feel free to continue in the thread or reopen a issue 🙂

@djelinek djelinek closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in ExTester Sep 10, 2024
@djelinek djelinek modified the milestones: NEXT, 8.7.0 Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants