bcquality/microsoft/knowledge/testing
Jesper Schulz-Wedde 373ec31e2e Address review: merge handler articles, adopt enqueue-driven pattern
Respond to @nikolakukrika's review on #62:

- Merge ui-calls-require-test-handlers, handlerfunctions-attribute-must-match-ui-path
  and handlers-enqueue-never-assert into a single ui-handlers-in-tests article.
- Adopt the enqueue-from-test / dequeue-and-assert-in-handler pattern using
  Assert.ExpectedConfirm/ExpectedMessage (substring match), with Initialize()
  clearing LibraryVariableStorage and AssertEmpty() proving exact call counts.
- asserterror sample now uses Assert.ExpectedTestFieldError + FieldCaption instead
  of hardcoded message/code; article text points to the library helpers.
- Drop the tablerelation article and fold its test-relevant ordering point
  (relations checked on Validate/Insert(true); build parents first) into
  use-library-codeunits-for-test-fixtures.

Article count 198 -> 195.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-07-07 09:29:32 +02:00
..
asserterror-needs-expectederror-and-code.bad.al Move testing knowledge from community to microsoft layer 2026-06-29 16:21:29 +02:00
asserterror-needs-expectederror-and-code.good.al Address review: merge handler articles, adopt enqueue-driven pattern 2026-07-07 09:29:32 +02:00
asserterror-needs-expectederror-and-code.md Address review: merge handler articles, adopt enqueue-driven pattern 2026-07-07 09:29:32 +02:00
transactionmodel-attribute-governs-test-transactions.bad.al Transaction and error handling in BC AL - new knowledge articles 2026-04-23 20:58:02 +03:00
transactionmodel-attribute-governs-test-transactions.good.al Transaction and error handling in BC AL - new knowledge articles 2026-04-23 20:58:02 +03:00
transactionmodel-attribute-governs-test-transactions.md Transaction and error handling in BC AL - new knowledge articles 2026-04-23 20:58:02 +03:00
ui-handlers-in-tests.bad.al Address review: merge handler articles, adopt enqueue-driven pattern 2026-07-07 09:29:32 +02:00
ui-handlers-in-tests.good.al Address review: merge handler articles, adopt enqueue-driven pattern 2026-07-07 09:29:32 +02:00
ui-handlers-in-tests.md Address review: merge handler articles, adopt enqueue-driven pattern 2026-07-07 09:29:32 +02:00
use-library-codeunits-for-test-fixtures.bad.al Move testing knowledge from community to microsoft layer 2026-06-29 16:21:29 +02:00
use-library-codeunits-for-test-fixtures.good.al Move testing knowledge from community to microsoft layer 2026-06-29 16:21:29 +02:00
use-library-codeunits-for-test-fixtures.md Address review: merge handler articles, adopt enqueue-driven pattern 2026-07-07 09:29:32 +02:00