© 2025 InterSystems Corporation, Cambridge, MA. All rights reserved.Privacy & TermsGuaranteeSection 508Contest Terms
Initial Release
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.
UnitTestId to JSON or YAML.git clone https://github.com/AshokThangavel/IrisTest-Fmtserializer.git
cd IrisTest-Fmtserializer
Build and start the app using Docker Compose:
docker-compose up --build
To stop and remove the running containers:
docker-compose down
// 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