run-al-tests
Runs a published AL test codeunit against the provisioned BCInsider sandbox through the public prerelease ALTool.
- License 许可
- MIT
- 所属仓库
- microsoft/AL
- 最近更新
- 2026-10-21
- Stars
- ★ 889
- Forks
- 286
01 前言 Front Matter
- 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]
03 SKILL.md 正文
- Invoke
verify-prerelease-altool. - Publish the test app with
publish-al-app. - Run structured tests:
& $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 - Add
--testmethodsonly when specific procedures are requested. - Preserve the JSON response and native exit code; report passed, failed, and skipped counts.
04 同仓库更多 Skills
verify-prerelease-altool
Verifies that the workflow-installed public prerelease ALTool is the executable used for every reproduction command.
verify-al-e2e
Orchestrates the smallest production-path AL reproduction through the workflow-installed public prerelease ALTool and BCInsider sandbox.
run-al-mcp-tool
Invokes one safe AL MCP tooling operation through the workflow-installed prerelease ALTool for independent reproduction of MCP and editor-tooling issues.
run-al-code-analysis
Runs CodeCop, PerTenantExtensionCop, UICop, or AppSourceCop against a temporary project through the public prerelease ALTool.
publish-al-app
Publishes one compiled AL app to the provisioned BCInsider sandbox through the public prerelease ALTool.
download-al-symbols
Downloads exact Business Central symbol packages for a temporary AL reproduction project through the installed prerelease ALTool. Use before compiling any project whose app.json references platform, application, or dependency packages.