Home Applications IrisTest-Fmtserializer

IrisTest-Fmtserializer

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
0
0 reviews
0
Awards
4
Views
0
IPM installs
0
0
Details
Releases (1)
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

Initial Release

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, "all")
Write yamlResult ; returns stream object

Version
1.0.027 Nov, 2025
Ideas portal
Category
Integration
Works with
InterSystems IRISInterSystems IRIS for HealthHealthShareTrakCare
First published
27 Nov, 2025
Last edited
27 Nov, 2025