---
title: "Codeunit 130401 CAL Test Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/130401-cal-test-management/
type: codeunit
id: 130401
name: "CAL Test Management"
app: "Base Application"
namespace: System.TestTools.TestRunner
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/130401-cal-test-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 130401 CAL Test Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/130401-cal-test-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.TestTools.TestRunner |
| Versions | 17-28 |
| Source file | System/DevTools/CALTest/CALTestManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SETPUBLISHMODE | () | - | public | 17-28 | - | - |
| SETTESTMODE | () | - | public | 17-28 | - | - |
| ISPUBLISHMODE | () | Boolean | public | 17-28 | - | - |
| ISTESTMODE | () | Boolean | public | 17-28 | - | - |
| DoesTestCodeunitExist | (Integer) | Boolean | public | 17-28 | - | - |
| GetTestCodeunitsSelection | (Record CAL Test Suite) | - | public | 17-28 | - | - |
| CreateNewSuite | (var Code[10]) | - | public | 17-28 | - | - |
| AddTestCodeunits | (Record CAL Test Suite, var Record AllObjWithCaption) | - | public | 17-28 | - | - |
| AddMissingTestCodeunits | (var Record Integer, Code[10]) | - | public | 17-28 | - | - |
| ExtendTestCoverage | (Integer) | - | public | 17-28 | - | - |
| RunSelected | (var Record CAL Test Line) | - | public | 17-28 | - | - |
| RunSuiteYesNo | (var Record CAL Test Line) | - | public | 17-28 | - | - |
| RunSuite | (var Record CAL Test Line, Boolean) | - | public | 17-28 | - | - |
| EnableTestToRun | () | - | public | 17-28 | - | - |
| ExportTCM | (Text) | - | public | 17-28 | - | - |
| ExportTestResults | (Text, Boolean, Boolean) | - | public | 17-28 | - | - |
| ImportTestToRun | (Text, Boolean) | - | public | 17-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
