Skip to content

Hardcoding locale breaks import into reportportal. #82

@tangentially

Description

@tangentially

private final NumberFormat numberFormat = NumberFormat.getInstance(Locale.US);

Suggested fix:
private final NumberFormat numberFormat = NumberFormat.getNumberInstance();
{
numberFormat.setGroupingUsed(false);
}

Example bad string:

<testsuite errors="0" failures="0" name="io.cucumber.core.plugin.JUnitFormatter" skipped="0" tests="15" time="1,384.047">

Correct string:

<testsuite errors="0" failures="0" name="io.cucumber.core.plugin.JUnitFormatter" skipped="0" tests="15" time="1384.047">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions