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

TAP Reporter wrong YAML diagnostics format #2835

Closed
maxilampert opened this issue Jul 25, 2023 · 2 comments · Fixed by #2837
Closed

TAP Reporter wrong YAML diagnostics format #2835

maxilampert opened this issue Jul 25, 2023 · 2 comments · Fixed by #2837
Labels
bug Something isn't working

Comments

@maxilampert
Copy link

Describe the bug
I'm generating tap files to convert them to junit format for Azure DevOps this worked fine in the latest v6 release with v7 the conversion no longer works. I'm using tap-junit for the conversion.
The reason is the yaml diagnostics format characters have changed to a horizontal ellipsis instead of 3 dots which is required by the definition https://testanything.org/tap-version-14-specification.html

https://github.com/oxsecurity/megalinter/blob/504a03e2f0de7f76926cabedbbad842dc06e5752/megalinter/reporters/TapReporter.py#L69C76-L69C77

The issue has been introduced with #2568

To Reproduce
Steps to reproduce the behavior:

  1. Go to '…'
  2. Click on '….'
  3. Scroll down to '….'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@nvuillam
Copy link
Member

@maxilampert good catch, sorry for the bug !

PR on the way :)

@nvuillam
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants