Skip to content
BC 2026 release wave 2unofficial launch event map, by waldo

Features › Developer tools

Test handlers

GA · 3 min in 2 videos · dev relevance high · documented as Build extensible and data-driven AL test suites high match

Test handlers

Test handlers provide setup and tear down in AL, with hooks before and after the test codeunit, test procedure and each data-driven test case. The demo uses a logger handler that traces while tests run.

Area: Developer tools. Status: GA. Developer relevance: high. Airtime: 3 min across 2 videos, demoed.

Status evidence

  • Nothing said about status; launch event convention: generally available unless stated otherwise.

Where they talk about it

Quotes

  • 4:48 "but we sort of lost that when we moved to the platform test runners." - Explains why test handlers were brought back.
  • 5:26 "default test handlers uh or I like to think of them as global test handlers because they run on every single um test" - Describes the design of default handlers, which run on every test.

Caveats mentioned

  • Separate from the test toolkit events driven by AL test runners

Prerequisites mentioned

  • Handler implementing the test handler interface/enum implementation

Documented features match

Docs checked on 2026-10-02: the match is against Microsoft's what's new pages for the wave as they were on that date. Microsoft keeps filling the documentation, so "no documented item" can go stale. The wider product documentation on learn.microsoft.com was searched for this feature on the same date; the feature's data lists an article when one was found.

Tags: al, testing, test-handlers, interfaces, setup

Generated by pipeline step 06. Source: YouTube auto-captions of the launch event videos, see the deep links. Not official.