Skip to main content

run-al-tests

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

Informations de source

Dépôt
microsoft/AL
Dernière activité de la source
18 août 2026 à 08:45
Langue détectée de SKILL.md
anglais
Étoiles
888
Forks
286

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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.
Voir sur GitHub