Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #50964
Closed
Open
Issue created Sep 03, 2018 by Shinya Maeda@shinya.maeda💡Maintainer

Support JUnit test report which does not have `classname` (eslint/sasslint)

Description

GitLab doesn't support JUnit test report which does not have classname (eslint/sasslint). This is because each test case's key is generated with testcase classname (Class name) and testcase name (Description).

To illustrate the problem, this xml will generate only one test case (It should be two)

<testsuites>
<testsuite package="org.eslint" time="0" tests="2" errors="2" name="sass/components/footer/_footer.scss">
<testcase time="0" name="org.eslint.empty-line-between-blocks"><failure message="Space expected between blocks"><![CDATA[line 8, col 1, Error - Space expected between blocks (empty-line-between-blocks)]]></failure></testcase>
<testcase time="0" name="org.eslint.empty-line-between-blocks"><failure message="Space expected between blocks"><![CDATA[line 20, col 1, Error - Space expected between blocks (empty-line-between-blocks)]]></failure></testcase>
</testsuite>
</testsuites>

Related

  • https://gitlab.com/gitlab-org/gitlab-ce/issues/50426
Edited Sep 03, 2018 by Shinya Maeda
Assignee
Assign to
Time tracking