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

xml report file has leading space in 'classname' #290

Open
kingsimba opened this issue May 6, 2020 · 0 comments
Open

xml report file has leading space in 'classname' #290

kingsimba opened this issue May 6, 2020 · 0 comments

Comments

@kingsimba
Copy link

kingsimba commented May 6, 2020

Problem

I use the following command to generate xml file:

mocha-parallel-tests src/**/*.spec.js --reporter mocha-jenkins-reporter --reporter-option junit_report_path=report.xml

But the report file has misformatted classname (note the leading space character):

<testcase 
    classname=" /nc/v1/routing/routeDiffusion" 
    name="test route diffusion server basic" time="0.119">
</testcase>

If I use 'mocha' instead, there is no such problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant