Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the expected junit xml format? #9

Open
roykolak opened this issue Dec 27, 2023 · 1 comment
Open

What is the expected junit xml format? #9

roykolak opened this issue Dec 27, 2023 · 1 comment

Comments

@roykolak
Copy link

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?

@leonid-shevtsov
Copy link
Owner

The structure looks correct.

I think the problem might be that you have an absolute path to the file, and the script expects a path relative to the project root. Could you confirm that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants