bcquality/microsoft/knowledge/testing
Michael Dieringer a28ba1a1d7 Address second round of Jesper Schulz-Wedde's review on PR #156
- dimension-management-wiring.md/.good.al: split into the two distinct
  models the article was conflating - master data (Default Dimension
  records via ValidateDimValueCode/SaveDefaultDim) vs. transactional/
  document data (a single Dimension Set ID assembled via AddDimSource +
  GetDefaultDimID, verified against BCApps' ExchRateAdjmtProcess.Codeunit.al).
  Added a compiling document-table example alongside the existing master
  table one.
- Deleted api-page-flowfields-must-be-calcfields (.md/.good.al/.bad.al):
  Microsoft's own FlowFields documentation states a FlowField used as a
  control's direct source expression is automatically calculated on any
  page - no API-page exception is documented, and none could be
  reproduced.
- prefer-email-module.bad.al/.md: Codeunit Mail has no Send/GetErrorDesc
  members; fixed to the real current 7-argument CreateMessage signature,
  and corrected the claim that the legacy path "still runs" - its base
  implementation no longer sends anything, only raises integration events.
- check-post-line-batch-pattern.md/.good.al: reframed from a universal
  invariant to the standard shape, naming the real Gen./Item/CA/Res./Job/
  Insurance/Mfg. Item/FA Jnl.-Check Line/-Post Line/-Post Batch codeunits
  it's based on. Added the missing Check Line companion codeunit so the
  good fixture is internally complete.
- test-data-must-be-random-and-complete.good.al: removed leftover
  "collision-free" wording contradicting the already-corrected article text.
- fixed-choice-set-must-use-enum-not-integer.md: removed the reintroduced
  state-count heuristic ("the line is the state count"), aligned with
  binary-choice-must-be-boolean.md's semantics-based distinction.
- namespace-must-be-verified-from-source.md: removed the false claim that
  the compiler and AL Language Server use different namespace-resolution
  rules.
- intrinsic-al-functions-must-use-modern-casing.md: removed the unverified
  claim that PascalCase is the VS Code formatter's default output.

Worklist completeness: added cues for the 8 rules in data-modeling,
testing, performance, and web-services that had none (Jesper's explicit
ask), plus the same gap in all 7 style rules from this PR (not explicitly
named this round, but the identical systemic issue) - 15 cues total across
al-data-modeling-review.md, al-testing-review.md, al-performance-review.md,
al-web-services-review.md, and al-style-review.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-21 22:26:33 +02:00
..
asserterror-needs-expectederror-and-code.bad.al Add testing knowledge: UI handlers, table relations, asserterror, fixtures (P1+P2) (#62) 2026-07-09 10:24:51 +02:00
asserterror-needs-expectederror-and-code.good.al Add testing knowledge: UI handlers, table relations, asserterror, fixtures (P1+P2) (#62) 2026-07-09 10:24:51 +02:00
asserterror-needs-expectederror-and-code.md Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
permission-tests-must-lower-the-execution-context.bad.al Complete AL review knowledge readiness (#108) 2026-07-15 10:55:25 +02:00
permission-tests-must-lower-the-execution-context.good.al Complete AL review knowledge readiness (#108) 2026-07-15 10:55:25 +02:00
permission-tests-must-lower-the-execution-context.md Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
test-data-must-be-random-and-complete.bad.al Add 18 community AL/BC patterns across style, data-modeling, web-services, appsource, breaking-changes, performance, and testing 2026-09-21 22:24:07 +02:00
test-data-must-be-random-and-complete.good.al Address second round of Jesper Schulz-Wedde's review on PR #156 2026-09-21 22:26:33 +02:00
test-data-must-be-random-and-complete.md Address Jesper Schulz-Wedde's review on PR #156 2026-09-21 22:25:26 +02:00
testisolation-belongs-on-the-test-runner.bad.al Complete AL review knowledge readiness (#108) 2026-07-15 10:55:25 +02:00
testisolation-belongs-on-the-test-runner.good.al Complete AL review knowledge readiness (#108) 2026-07-15 10:55:25 +02:00
testisolation-belongs-on-the-test-runner.md Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
transactionmodel-attribute-governs-test-transactions.bad.al Fix lifecycle compatibility guidance (#93) 2026-07-14 11:26:16 +02:00
transactionmodel-attribute-governs-test-transactions.good.al Fix lifecycle compatibility guidance (#93) 2026-07-14 11:26:16 +02:00
transactionmodel-attribute-governs-test-transactions.md Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
ui-handlers-in-tests.bad.al Exempt optional notification handlers from the HandlerFunctions execution rule 2026-09-02 11:46:13 +02:00
ui-handlers-in-tests.good.al Exempt optional notification handlers from the HandlerFunctions execution rule 2026-09-02 11:46:13 +02:00
ui-handlers-in-tests.md Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
use-library-codeunits-for-test-fixtures.bad.al Add testing knowledge: UI handlers, table relations, asserterror, fixtures (P1+P2) (#62) 2026-07-09 10:24:51 +02:00
use-library-codeunits-for-test-fixtures.good.al Add testing knowledge: UI handlers, table relations, asserterror, fixtures (P1+P2) (#62) 2026-07-09 10:24:51 +02:00
use-library-codeunits-for-test-fixtures.md Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00