Skip to content

Fix --json output with test case#432

Open
1zumiSagiri wants to merge 1 commit intomirage:mainfrom
1zumiSagiri:main
Open

Fix --json output with test case#432
1zumiSagiri wants to merge 1 commit intomirage:mainfrom
1zumiSagiri:main

Conversation

@1zumiSagiri
Copy link
Copy Markdown

Fixes #431

  • Fixed the calculation of the number of successful tests in core.ml
  • Updated the result json summary in pp.ml to display the total number of tests run (successes + failures) instead of just the number of successful tests
  • Added a new test case, json_output_with_failed.ml, which includes both passing and failing tests to verify the JSON output format in failure scenarios.

Copy link
Copy Markdown
Collaborator

@MisterDA MisterDA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for spotting this and for the fix.

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

Successfully merging this pull request may close these issues.

--json incorrect output

2 participants