Skip to content

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

Description

@kingsimba

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions