Skip to content

What is the expected junit xml format?  #9

Description

@roykolak

I have junit xml that looks like this...

<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Specs" time="57.138" tests="68" failures="0">
  <testsuite name="Root Suite" timestamp="2023-12-27T17:11:58" tests="0" time="0.000" failures="0">
  </testsuite>
  <testsuite  timestamp="2023-12-27T17:11:58" tests="2"  file="/path/to/file.spec.ts" time="0.000" failures="0">
    <testcase file="/path/to/file.spec.ts">
    </testcase>
    <testcase time="0.198" file="/path/to/file.spec.ts">
    </testcase>
  </testsuite>
</testsuites>

But I'm getting "missing file time" logs in the console. I thought this was the expected xml format, is that not correct?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions