Skip to content

disable tests which are not supported by AL-Go#2

Merged
Drakonian merged 2 commits into
mainfrom
ExcludeNotSupportedTestsByALGo
Apr 19, 2026
Merged

disable tests which are not supported by AL-Go#2
Drakonian merged 2 commits into
mainfrom
ExcludeNotSupportedTestsByALGo

Conversation

@Drakonian
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds an AL-Go-compatible configuration file to disable a set of AL test methods that currently can’t run under AL-Go due to test runner isolation constraints.

Changes:

  • Introduce test/disabledtests.json listing disabled test methods in codeunit 99209 (PW Integration Test).
  • Document the disable reason per test entry (same reason across all entries).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/disabledtests.json Outdated
Comment thread test/disabledtests.json
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an AL-Go-compatible disabled test list so the CI pipeline can skip integration tests that require running the Business Central test runner with isolation disabled (which AL-Go currently doesn’t support).

Changes:

  • Introduces test/disabledtests.json containing a list of disabled test methods for codeunit 99209 "PW Integration Test".
  • Captures the rationale for disabling each test in the JSON entries.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/disabledtests.json
Comment on lines +2 to +62
{
"bug": "These tests require running the test runner with isolation disabled, which AL-Go does not currently support.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "RunForListSingleItem"
},
{
"bug": "These tests require running the test runner with isolation disabled, which AL-Go does not currently support.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "RunForListMultipleItems"
},
{
"bug": "These tests require running the test runner with isolation disabled, which AL-Go does not currently support.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "RunForListSplitsEvenly"
},
{
"bug": "These tests require running the test runner with isolation disabled, which AL-Go does not currently support.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "RunForListFewerItemsThanThreads"
},
{
"bug": "These tests require running the test runner with isolation disabled, which AL-Go does not currently support.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "RunForListWaitReturnsTrue"
},
{
"bug": "These tests require running the test runner with isolation disabled, which AL-Go does not currently support.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "RunForListCountersCorrectAfterCompletion"
},
{
"bug": "These tests require running the test runner with isolation disabled, which AL-Go does not currently support.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "RunForChunksWithPayloads"
},
{
"bug": "These tests require running the test runner with isolation disabled, which AL-Go does not currently support.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "RunForChunksIgnoresThreadCount"
},
{
"bug": "These tests require running the test runner with isolation disabled, which AL-Go does not currently support.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "RunForRecordsSplitsAcrossThreads"
},
{
"bug": "These tests require running the test runner with isolation disabled, which AL-Go does not currently support.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "RunForRecordsFewerRecordsThanThreads"
},
{
Comment thread test/disabledtests.json
Comment on lines +63 to +81
"bug": "Need to set isolation disabled test runner. Currently not supported by AL-Go.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "WorkerErrorCaptured"
},
{
"bug": "Need to set isolation disabled test runner. Currently not supported by AL-Go.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "PartialFailureMixedResults"
},
{
"bug": "Need to set isolation disabled test runner. Currently not supported by AL-Go.",
"codeunitId": 99209,
"codeunitName": "PW Integration Test",
"method": "AllChunksFail"
},
{
"bug": "Need to set isolation disabled test runner. Currently not supported by AL-Go.",
@Drakonian Drakonian merged commit ba1f185 into main Apr 19, 2026
7 checks passed
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.

2 participants