Skip to content

Package Name for Jenkins JUnit Reports #95

Open
@tebuch

Description

When reporting xml output in Jenkins (using either JUnit test reports directly, or through xUnit plugin), the test report shows my tests under package name "(root)". It would be nice if:

  • one could specify a package name either within the test code or as a command line argument OR
  • the package name was the same as the class name or something similar.

From what I've researched, in order for Jenkins to recognize a package name for JUnit tests, the xml output needs to look something like this:
<testsuite classname="PackageName.ClassName" name="TestName".... </testsuite>
where PackageName is what would replace the ugly "(root)" in Jenkins

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions