Powered by Zoomin Software. For more details please contactZoomin

OpenEdge ABL API Reference

OpenEdge.ABLUnit.Runner.TestConfig

  • Last Updated: November 12, 2026
  • 3 minute read
    • OpenEdge
    • Version 13.1
    • Documentation
Namespace: OpenEdge.ABLUnit.Runner
Type: Class TestConfig
Parent Classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object


Copyright (c) 2013-2015,2020,2023,2026 by Progress Software Corporation. All rights reserved.
File:TestConfig
Author(s):psajja
Created:Wed Nov 20 15:56:07 IST 2013
Notes:The ABLUnit configuration file should be in JSON format,
which may be validated using the ablunit.config.schema:
{
"options": {
"output": {
"location": "<path-to-results>", // default: present working directory (PWD)
"fileName": "<file-name>", // LEGACY: default: results (used when writers not specified)
"format": "<file-extension>", // LEGACY: default: xml (only xml supported)
"writers": { // OPTIONAL: Configure which writers to use for output (presence = intent)
"ablunit": { // ResultsXmlWriter (PDSOE-compatible format), only enabled when present in the writers object
"fileName": "<file-name>", // optional: override fileName, default: results
"format": "<file-extension>" // optional: output format, default: xml
},
"junit": { // JUnitXmlWriter (Apache Ant JUnit-compliant format), only enabled when present in the writers object
"fileName": "<file-name>", // optional: override fileName, default: junit-results
"format": "<file-extension>" // optional: output format, default: xml (only xml supported)
}
}
},
"debug": <boolean>, // enable debug options for ABLUnit, default: false
"quitOnEnd": <boolean>, // default: true
"showErrorMessage": <boolean>, // default: true
"throwError": <boolean>, // default: false
"writeLog": <boolean>, // default: false
"xref": {
"useXref": <boolean>, // use XREF files from a specified location, default: false
"xrefLocation": "<path-to-xref-files>", // default: same as source file (PWD/SRC)
"xrefExtension": "<file-extension>", // default: xref (PDSOE uses <file>.xref.xml)
"xrefThrowError": <boolean> // default: false
}
},
"tests": [
{
"test": "<class>.cls"
},
{
"test": "<procedure>.p"
},
{
"folder": "<path-to-tests>"
},
{
"test": "<class>.cls",
"cases": [
"<case-name>"
]
}
]
}
Current documentation can be found at the following location:
https://docs.progress.com/bundle/openedge-developer-studio-help/page/Run-test-cases-from-the-command-prompt.html



Method Summary
  Options Name Purpose
  CHARACTER GetJunitResultsFile () This method will return the results file name for JUnit writer.
  CHARACTER GetResultsFile () This method will return the results file name for ABLUnit writer.
  Initialize () This method parses and initializes the properties from JSON config.

Constructor Summary
  Options Name Purpose
  TestConfig (JsonObject)

Property Summary
  Options Name Purpose
  CHARACTER ablunitWriterFileName
  CHARACTER ablunitWriterFormat
  LOGICAL debugEnabled
  CHARACTER junitWriterFileName
  CHARACTER junitWriterFormat
  CHARACTER outputFormat
  CHARACTER outputLocation
  LOGICAL quitOnEnd
  CHARACTER ResultsFileName
  LOGICAL showErrorMessage
  Progress.Json.ObjectModel.JsonArray testsJson
  LOGICAL throwError
  LOGICAL useAblunitWriter
  LOGICAL useJunitWriter
  LOGICAL useXref
  LOGICAL writeLog
  CHARACTER xrefExtension
  CHARACTER xrefLocation
  LOGICAL xrefThrowError


Method Detail
Top

CHARACTER GetJunitResultsFile ()

Purpose: This method will return the results file name for JUnit writer.
Notes:
Returns CHARACTER
 
Top

CHARACTER GetResultsFile ()

Purpose: This method will return the results file name for ABLUnit writer.
Notes: Backwards compatible with legacy configuration.
Returns CHARACTER
 
Top

Initialize ()

Purpose: This method parses and initializes the properties from JSON config.
Notes:


Constructor Detail
Top

TestConfig (JsonObject)

Purpose:
Notes:
Parameters:
inputJson Progress.Json.ObjectModel.JsonObject
 


Property Detail
Top

CHARACTER ablunitWriterFileName

Returns CHARACTER
 
Top

CHARACTER ablunitWriterFormat

Returns CHARACTER
 
Top

LOGICAL debugEnabled

Returns LOGICAL
 
Top

CHARACTER junitWriterFileName

Returns CHARACTER
 
Top

CHARACTER junitWriterFormat

Returns CHARACTER
 
Top

CHARACTER outputFormat

Returns CHARACTER
 
Top

CHARACTER outputLocation

Returns CHARACTER
 
Top

LOGICAL quitOnEnd

Returns LOGICAL
 
Top

CHARACTER ResultsFileName

Returns CHARACTER
 
Top

LOGICAL showErrorMessage

Returns LOGICAL
 
Top

Progress.Json.ObjectModel.JsonArray testsJson

Returns Progress.Json.ObjectModel.JsonArray
 
Top

LOGICAL throwError

Returns LOGICAL
 
Top

LOGICAL useAblunitWriter

Returns LOGICAL
 
Top

LOGICAL useJunitWriter

Returns LOGICAL
 
Top

LOGICAL useXref

Returns LOGICAL
 
Top

LOGICAL writeLog

Returns LOGICAL
 
Top

CHARACTER xrefExtension

Returns CHARACTER
 
Top

CHARACTER xrefLocation

Returns CHARACTER
 
Top

LOGICAL xrefThrowError

Returns LOGICAL
 


Alert