Skip to main content

run-al-tests

Runs a published AL test codeunit against the provisioned BCInsider sandbox through the public prerelease ALTool.

ソース情報

リポジトリ
microsoft/AL
ソースの最終更新活動
2026年8月18日 08:45
検出された SKILL.md の言語
英語
スター
891
フォーク
286

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
run-al-tests
description
Runs a published AL test codeunit against the provisioned BCInsider sandbox through the public prerelease ALTool.
argument-hint
<codeunit-id> [project-folder] [test-methods]
1. Invoke `verify-prerelease-altool`. 2. Publish the test app with `publish-al-app`. 3. Run structured tests: ```powershell & $env:ALTOOL_PATH runtests $codeunitId ` --project $projectPath ` --server $env:BC_SERVER_URL ` --serverinstance $env:BC_SERVER_INSTANCE ` --port $env:BC_SERVER_PORT ` --tenant $env:BC_TENANT ` --authentication $env:BC_AUTHENTICATION ` --environmenttype OnPrem ``` 4. Add `--testmethods` only when specific procedures are requested. 5. Preserve the JSON response and native exit code; report passed, failed, and skipped counts.
GitHubで見る