# How to generate parsable report for molecule test run?

**URL:** <https://forum.ansible.com/t/how-to-generate-parsable-report-for-molecule-test-run/41770>\
**Category:** Get Help\
**Tags:** molecule\
**Created:** [April 16, 2025, 5:57pm UTC](https://forum.ansible.com/t/how-to-generate-parsable-report-for-molecule-test-run/41770 "2025-04-16T17:57:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankur\_Shah](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ankur_shah/32/8153_2.png) [@Ankur\_Shah](https://forum.ansible.com/u/Ankur_Shah)\
**Post date:** [April 16, 2025, 5:57pm UTC](https://forum.ansible.com/t/how-to-generate-parsable-report-for-molecule-test-run/41770/1 "2025-04-16T17:57:26Z")

</div>

- I am trying to use Ansible molecule for integration testing. I am running certain checks/test using molecule and it generates html reports. My usecase is to generate report in parsable format (`json` or `yaml`), so I can parse success and failure and publish as custom metrics to my OTEL solution. So my question is how to generate Moleculre report in `json` or `yaml` format?

---

<div class="post-metadata">

**Author:** ![sb0](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@sb0](https://forum.ansible.com/u/sb0)\
**Post date:** [April 23, 2025, 3:02pm UTC](https://forum.ansible.com/t/how-to-generate-parsable-report-for-molecule-test-run/41770/2 "2025-04-23T15:02:30Z")

</div>

There isn’t an Ansible or Molecule plugin/filter to generate reports in JSON or YAML directly. However, the [jc](https://github.com/kellyjonbrazil/jc) tool might help you achieve what you’re looking for.

jc converts the output of many command-line tools into structured JSON, which you can then parse for success/failure for your needs.
