Skip to main content

run-al-tests

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

Quellinformationen

Repository
microsoft/AL
Letzte Quellaktivität
18. August 2026 um 08:45
Erkannte Sprache von SKILL.md
Englisch
Sterne
891
Forks
286

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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.
Auf GitHub ansehen