Skip to content

feat: add JUnit XML output format and --output-file flag for CI/CD test reporting - #650

Open
aniket866 wants to merge 2 commits into
microcks:masterfrom
aniket866:feat/junit-output
Open

aniket866 wants to merge 2 commits into
microcks:masterfrom
aniket866:feat/junit-output

Conversation

@aniket866

Copy link
Copy Markdown
Contributor

Summary

Adds JUnit XML output support to microcks test.

Changes

  • Add --output junit
  • Add JUnitFormatter using Go's standard encoding/xml
  • Generate one JUnit testcase per tested operation
  • Include operation elapsed time
  • Include failure counts and failure messages
  • Add XML structure tests
  • Preserve existing output formats and behavior

Example:

microcks test ... --output junit --output-file results.xml

Ai disclosure: chatgpt is used to review related files and implement changes

Closes #386 

Signed-off-by: aniket866 <iamaniketkumarmaner@gmail.com>
Signed-off-by: aniket866 <iamaniketkumarmaner@gmail.com>

This branch was successfully deployed

1 active deployment
Build — bf78d046 Deployed Nov 29, 2026 by aniket866 via build-verify-package #927
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.

1 participant