bcquality/microsoft/knowledge/testing
Michael Dieringer 1392521a8e Address second round of Jesper Schulz-Wedde's review on PR #159
- commit-shared-test-fixture-inside-lazy-initialize.md: fundamentally
  rewritten. AutoCommit is the documented default TransactionModel, not
  AutoRollback. Explains the real mechanism (Commit() protects a fixture
  from the test method's own later deliberate rollback, per Codeunit.Run/
  TransactionModel-property semantics) and the TestIsolation dependency
  (Disabled/Codeunit survive across methods, Function does not). Fixtures
  rewritten to demonstrate the actual failure/success shape.
- transactionmodel-attribute-governs-test-transactions.md: now states the
  AutoCommit default explicitly and agrees with the article above, closing
  the contradiction Jesper flagged between the two testing articles.
- Deleted confirm-needs-strsubstno-before-confirmhandler-sees-substituted-text
  (.md/.good.al/.bad.al): the underlying platform bug (microsoft/
  ALAppExtensions#23935) was closed as completed in Feb 2024; cannot be
  reproduced or bc-version-pinned on any currently supported version.
- table-relation-test-exclude-known-invalid-relations-via-event.md: added
  the [Scope('OnPrem')] boundary verified against BCApps' Table Relation
  Test codeunit.
- use-assert-isfalse-not-asserterror-for-boolean-checks.md: added a Scope
  section resolving the overlap with asserterror-needs-expectederror-and-code.
- al-testing-review.md: fixed the shared-fixture cue to catch the actual
  anti-pattern instead of the compliant shape, added the missing cue for
  use-assert-isfalse-not-asserterror-for-boolean-checks, wired precedence
  between it and the generic asserterror rule, and removed the cue for the
  deleted article.
- Added in-file Source provenance (specific fluxxus.nl post per article,
  with what was independently verified vs. taken from the post) to the
  three surviving externally-inspired articles, per Jesper's request that
  provenance live in the knowledge file itself, not only the PR description.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-21 22:49:17 +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
commit-shared-test-fixture-inside-lazy-initialize.bad.al Address second round of Jesper Schulz-Wedde's review on PR #159 2026-09-21 22:49:17 +02:00
commit-shared-test-fixture-inside-lazy-initialize.good.al Address second round of Jesper Schulz-Wedde's review on PR #159 2026-09-21 22:49:17 +02:00
commit-shared-test-fixture-inside-lazy-initialize.md Address second round of Jesper Schulz-Wedde's review on PR #159 2026-09-21 22:49:17 +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
table-relation-test-exclude-known-invalid-relations-via-event.bad.al Add 4 more AL/BC testing patterns from Luc van Vugt's fluxxus.nl blog 2026-09-21 22:48:57 +02:00
table-relation-test-exclude-known-invalid-relations-via-event.good.al Add 4 more AL/BC testing patterns from Luc van Vugt's fluxxus.nl blog 2026-09-21 22:48:57 +02:00
table-relation-test-exclude-known-invalid-relations-via-event.md Address second round of Jesper Schulz-Wedde's review on PR #159 2026-09-21 22:49:17 +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 Address second round of Jesper Schulz-Wedde's review on PR #159 2026-09-21 22:49:17 +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-assert-isfalse-not-asserterror-for-boolean-checks.bad.al Add 4 more AL/BC testing patterns from Luc van Vugt's fluxxus.nl blog 2026-09-21 22:48:57 +02:00
use-assert-isfalse-not-asserterror-for-boolean-checks.good.al Add 4 more AL/BC testing patterns from Luc van Vugt's fluxxus.nl blog 2026-09-21 22:48:57 +02:00
use-assert-isfalse-not-asserterror-for-boolean-checks.md Address second round of Jesper Schulz-Wedde's review on PR #159 2026-09-21 22:49:17 +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