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

[FR]: Skipped reasons in JSON output #4507

Closed
davidmatson opened this issue Apr 2, 2024 · 0 comments
Closed

[FR]: Skipped reasons in JSON output #4507

davidmatson opened this issue Apr 2, 2024 · 0 comments

Comments

@davidmatson
Copy link
Contributor

Does the feature exist in the most recent commit?

No

Why do we need this feature?

To be able to use JSON as a substitute for XML, including cases when the skip reason is significant.

Describe the proposal.

Include similar JSON for skip reasons (test part results) as is done for failures (test part results):

"skipped": [
  {
    "message": "<path>.cpp:5\nIt's good practice to provide the reason a test is being skipped.\n"
  }
]

Is the feature specific to an operating system, compiler, or build system version?

No

davidmatson added a commit to davidmatson/googletest that referenced this issue Apr 2, 2024
Fix the gap between JSON and XML output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant