Home Applications IrisTest-Fmtserializer

IrisTest-Fmtserializer Works

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
0
0 reviews
0
Awards
30
Views
2
IPM installs
0
0
Details
Releases (3)
Reviews
Issues
Serialization utility for InterSystems IRIS IrisTest. Convert unit test results into structured JSON and YAML formats for automation and reporting.

What's new in this version

Now supports exporting data in TOON
format.

IrisTest-Fmtserializer

IrisTest.Format.Writer is a Serialization utility for InterSystems IRIS IrisTest class that generates JSON and YAML representations of UnitTest results.
It complements the existing IrisTest-html package by providing structured, machine-readable formats for UnitTest reporting.

Features

  • Export UnitTest results for a specific UnitTestId to JSON or YAML.
  • Include all test metadata: namespace, duration, datetime, suite, test case, and assertions.
  • Handles multiple methods and assertions per test case.
  • Ready to integrate with reporting pipelines or CI/CD tools.

⚙️ Installation

Clone the Repository

git clone https://github.com/AshokThangavel/IrisTest-Fmtserializer.git
cd IrisTest-Fmtserializer

Running the Application with Docker

Build and start the app using Docker Compose:

docker-compose up --build

Stopping the Application

To stop and remove the running containers:

docker-compose down

Usage

// Generate JSON for UnitTestId 37, filtered by status "failed"
Set jsonResult = ##class(IrisTest.Format.Serializer).GenerateJSON(37, "failed")
Write jsonResult ; returns %DAO object

// Generate YAML for UnitTestId 37
Set yamlResult = ##class(IrisTest.Format.Serializer).GenerateYAML(37)
Write yamlResult ; returns stream object

// Generate YAML for UnitTestId 37
Set TOONResult = ##class(IrisTest.Format.Serializer).GenerateTOON(37,"passed)
Write TOONResult ; returns stream object

Made with
Install
zpm install IrisTest-Fmtserializer download archive
Version
1.0.202 Dec, 2025
Ideas portal
Category
Integration
Works with
InterSystems IRISInterSystems IRIS for HealthHealthShareTrakCare
First published
27 Nov, 2025
Last edited
01 Dec, 2025
Last checked by moderator
28 Nov, 2025Works