Description
Reason/Context
Problem
Currently, microcks test only outputs plain text results.
When running in GitHub Actions CI, there is no way to get
inline PR annotations showing which operations passed or failed.
Proposed Solution
Add an --output-format flag to the test command with two values:
--output-format=plain(default, current behavior)--output-format=github-actions— emits GitHub Actions workflow
commands so failures appear as inline PR annotations:
```
::error title=Test Failed::Operation GET /beers FAILED
::notice title=Test Passed::Operation POST /beers PASSED
```
Why This Matters
This directly improves the CI/CD experience and aligns with
the Microcks goal of bringing test results closer to the developer.
Description
Currently, microcks test only outputs plain text results. When running
in GitHub Actions CI, there is no way to get inline PR annotations showing
which operations passed or failed. Developers must open the Microcks web UI
to diagnose failures — this breaks the fast feedback loop in CI pipelines.
This change will help by bringing test results directly into the PR review
experience, so developers see failures as inline annotations without leaving
GitHub. The motivation aligns with the LFX mentorship goal of improving the
CI/CD developer experience for Microcks users.
Implementation ideas
Add an --output-format flag to the test command with two values:
--output-format=plain(default, current behavior unchanged)--output-format=github-actions— emits GitHub Actions workflow commands:
::error title=Test Failed::Operation GET /beers FAILED
::notice title=Test Passed::Operation POST /beers PASSED
Changes needed:
- cmd/test.go: add --output-format flag definition
- pkg/: add result printer logic for github-actions format
- documentation/cmd/test.md: document the new flag with example
Activity
feat(test): add --output-format flag for GitHub Actions annotations
A-d-i-t-y commentedon May 9, 2026
Hi @Harsh4902 @lbroudoux @yada
I'm Aditya, applying for the LFX Mentorship – IDE Integration and Local Dev Loop Enhancement project for Microcks.
This PR adds
--output-format=github-actionsflag to thetestcommand, which directly aligns with the mentorship goal of improving the CI/CD developer experience. When running in GitHub Actions, test failures are currently buried in plain text logs — this change surfaces per-operation pass/fail results as inline PR annotations using GitHub's native::errorand::noticeworkflow commands, with no breaking changes to existing behavior.Would love to get your feedback on the approach. Happy to make any changes you suggest!
feat: add --output-format=github-actions flag to test command
feat: add --output-format=github-actions flag to test command
Caesarsage commentedon Aug 16, 2026
Shipped in #488 — the flag landed as --output (github-actions, alongside text/json/yaml) and emits workflow commands for inline annotations.
I believe this can be closed.