#2457 Fixing codeunit discovery on PowerShell 5 for RunTests action.
Fixed codeunit discovery in the RunTests action that was failing on PowerShell 5.1, ensuring proper test detection and execution on older PowerShell versions.
- 4files
- 1AL files
- 0objects
Pull request · merged into main on 2026-11-12 by spetersenms · 4 files (+75 -7), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Resolves test discovery failures specifically affecting PowerShell 5.1
- Updates AlToolTestRunner module with compatibility fix
- Includes enhanced end-to-end test scenarios for validation
- Adds unit tests to prevent regression
- Behaviour changes for users or extensions.
AL objects touched
Actions/RunTests/AlToolTestRunner.psm1: modified, not in the BC? snapshot
Context
- Systems: development, platform
- From the description: “Test discovery in RunTests action fails on PowerShell 5.1”
Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).