Skip to content

Recognize Application Test Library dependencies - #2485

Open
Alexander Holstrup (aholstrup1) wants to merge 1 commit into
mainfrom
aholstrup1-recognize-application-test-library
Open

Alexander Holstrup (aholstrup1) wants to merge 1 commit into
mainfrom
aholstrup1-recognize-application-test-library

Conversation

@aholstrup1

@aholstrup1 Alexander Holstrup (aholstrup1) commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: f0f19cd53f5d65b39047c85fa81d859f0991eb49

Dimension Assessment Rationale
Change confidence 9/10 ↑ Focused tests pass on PowerShell 7 and Windows PowerShell 5.1, including both existing library IDs.
↓ Linux and a full Business Central build were not run.
Diagnosis confidence 9.5/10 ↑ New dependency-only regression fails before adding the missing ID and passes afterward.
Evidence fit 9.5/10 ↑ Regression mirrors issue #2480: a normal app and a test app with Application Test Library as its only Microsoft test dependency.

❔What, Why & How

Recognize Application Test Library as a test dependency, so AL-Go puts the app in testFolders and installs the required test toolkit automatically.

Fixes #2480. Includes regression tests for the new library and existing test libraries.

✅ Checklist

  • Add tests (E2E, unit tests)
  • Update RELEASENOTES.md
  • Update documentation (e.g. for new settings or scenarios) — N/A; fixes existing detection behavior, with no new settings or scenarios.
  • Add telemetry — N/A.

@aholstrup1
Alexander Holstrup (aholstrup1) marked this pull request as ready for review December 2, 2026 13:18
Copilot AI balanced review requested due to automatic review settings December 2, 2026 13:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the Application Test Library detection change.

No open issues 🎉

What changed in this PR

Fixes #2480 by recognizing Application Test Library dependencies, allowing AL-Go to detect test apps and automatically enable the required test toolkit.

Changes:

  • Adds Application Test Library to the recognized test-library IDs.
  • Adds regression coverage for folder detection and toolkit settings across three supported libraries.
  • Documents the fix in release notes.
File Description
Tests/​ResolveProjectFolders.Test.ps1 Tests detection and toolkit settings for all three libraries.
RELEASENOTES.md Records the fix for issue #2480.
Actions/​AL-Go-Helper.ps1 Adds the Application Test Library ID to test-library detection.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Test app depending only on "Application Test Library" is not detected as test app and installTestLibraries is not derived

2 participants