---
title: "Interface ITestHandler"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/interface/itesthandler/
type: interface
name: "ITestHandler"
app: "System"
namespace: System.Testability
versions: "29"
build: 29.0.55597.0
countries: "W1"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Interface ITestHandler

JOP-AL, https://jonas-paprotka.de/ref/interface/itesthandler/

| | |
| --- | --- |
| App | System |
| Namespace | System.Testability |
| Versions | 29 |
| Minors | W1 29.0, [every minor](https://jonas-paprotka.de/ref/interface/itesthandler/editions.json) |
| Source file | System Interfaces/ITestHandler.Interface.al |

## Implemented by

- [Enum 2000000023 TestHandler](https://jonas-paprotka.de/ref/enum/2000000023-testhandler/), System, 29
- [Enum 2000000024 DefaultTestHandler](https://jonas-paprotka.de/ref/enum/2000000024-defaulttesthandler/), System, 29

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| OnBeforeTestCodeunitRun | (Context: TestHandlerContext) | - | public | 29 | - | - |
| OnAfterTestCodeunitRun | (Context: TestHandlerContext) | - | public | 29 | - | - |
| OnBeforeTestProcedureRun | (Context: TestHandlerContext) | - | public | 29 | - | - |
| OnAfterTestProcedureRun | (Context: TestHandlerContext) | - | public | 29 | - | - |
| OnBeforeTestCaseRun | (Context: TestHandlerContext) | - | public | 29 | - | - |
| OnAfterTestCaseRun | (Context: TestHandlerContext) | - | public | 29 | - | - |

## Source

Symbols: Microsoft.Platform.symbols, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.

JOP-AL, 2026-11-20.
