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
آخر نشاط في المصدر
١٨ أغسطس ٢٠٢٦ في ٠٨:٤٥
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٨٩١
التفرعات
٢٨٦

خيارات التثبيت

يُحدَّد 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