skill-testing

Design and execute AL unit, integration, UI and AI tests for Business Central extensions using Given/When/Then patterns.

99|28|Updated Oct 15, 2025
One-click install
npx skills add https://github.com/javiarmesto/ALDC-AL-Development-Collection --skill skill-testing-javiarmesto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-testing
Source: https://github.com/javiarmesto/ALDC-AL-Development-Collection/tree/main/claude-plugin/skills/skill-testing
Command: npx skills add https://github.com/javiarmesto/ALDC-AL-Development-Collection --skill skill-testing-javiarmesto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AL testing patterns and workflow to design, implement, and validate tests for Business Central extensions, reducing boilerplate and increasing release confidence.

Core Features & Use Cases

  • Pattern-driven test codeunits with Given/When/Then structure for deterministic BC AL tests.
  • Library helpers, test data builders, and UI test pages to enable reusable test scaffolds.
  • Handler functions and test harness patterns to manage dialogs, messages, and UI flows.

Quick Start

Define a [Test] procedure following Given/When/Then and run the tests with the AL test runner.

Frequently Asked Questions about skill-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write AL tests for Business Central extensions using TDD?

AL tests for Business Central extensions follow a Test-Driven Development workflow using Given/When/Then patterns, test codeunits, and library helpers to design, execute, and validate deterministic test procedures.

What test patterns are available for Business Central AL extensions?

Available AL test patterns include unit, integration, UI, and AI testing, utilizing Given/When/Then structures, test data builders, and library codeunits to create reusable test scaffolds for Business Central.

How do I handle dialogs and UI flows in AL test codeunits?

Dialogs and UI flows in AL test codeunits are managed using handler functions and test harness patterns, which intercept messages and confirmations to ensure automated test execution without manual intervention.

How do I ensure test isolation and strict assertions in AL testing?

Test isolation and strict assertions in AL testing are enforced by the test workflow, ensuring each test runs independently with predictable data builders and library helpers to prevent cross-test contamination.

Can I use test data builders and library codeunits for BC AL tests?

Yes, test data builders and library codeunits provide reusable test scaffolds for BC AL tests, reducing boilerplate when setting up test data and enabling consistent, deterministic test execution across extensions.

What is the best way to structure AL test procedures for Business Central?

The best way to structure AL test procedures is using the Given/When/Then pattern within Test procedures, enforced by a TDD-driven conductor workflow that documents steps and conventions for comprehensive coverage.