code change · featureAL Developmentofficial - Microsoftreviewed - checked by Opus

#2343 RunTests action

AL-Go adds a preview useSeparateTestAction setting, off by default. When it is on, normal test execution moves from RunPipeline into a new RunTests action that runs tests with AlTool (al runtests) and produces JUnit results.

Pull request · merged into main on 2026-10-27 by spetersenms · 24 files (+5397 -3), 13 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • Preview feature with useSeparateTestAction setting (defaults to false) to move tests from RunPipeline to new RunTests action
  • RunPipeline builds and publishes apps, then RunTests executes them using al runtests command
  • Supports test type filtering for UnitTest, IntegrationTest, and Uncategorized categories
  • Only normal tests are moved; BCPT, page scripting, and multi-country tests remain in pipeline
  • Maintains BCH for container management and metadata operations while AlTool handles actual test execution

AL objects touched

  • Actions/.Modules/AlToolHelper.psm1: added, not in the BC? snapshot yet
  • Actions/.Modules/ReadSettings.psm1: modified, not in the BC? snapshot
  • Actions/.Modules/settings.schema.json: modified, not in the BC? snapshot
  • Actions/AnalyzeTests/TestResultAnalyzer.ps1: modified, not in the BC? snapshot
  • Actions/RunPipeline/README.md: modified, not in the BC? snapshot
  • Actions/RunPipeline/RunPipeline.ps1: modified, not in the BC? snapshot
  • Actions/RunTests/AlToolTestRunner.psm1: added, not in the BC? snapshot yet
  • Actions/RunTests/README.md: added, not in the BC? snapshot yet
  • Actions/RunTests/RunTests.ps1: added, not in the BC? snapshot yet
  • Actions/RunTests/RunTests.psm1: added, not in the BC? snapshot yet
  • Actions/RunTests/action.yaml: added, not in the BC? snapshot yet
  • Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml: modified, not in the BC? snapshot
  • Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml: modified, not in the BC? snapshot

Context

  • Systems: development, platform

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).