feat: add structured JSON output to test command - #270
Conversation
|
Hey @ayushshukla1807! |
Signed-off-by: Ayush Shukla <ayushshukla1807@gmail.com>
|
I've amended the commit to include the DCO sign-off (-s) as requested. Ready for review! |
|
This pull request has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 30 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation. There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this pull request forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
|
Clossing this as it's tackled in #488. Thanks @ayushshukla1807, and sorry we couldn't merge your contribution. |
The current
testcommand only provides human-readable output. To support integrations with tools like the upcoming VS Code extension, structured data is required.This PR adds an
--output(or-o) flag to thetestcommand. When set tojson, the command suppresses progress logging and prints the finalTestResultSummaryas a JSON object.Example:
microcks-cli test <api:version> <endpoint> <runner> -o json