mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 22:56:55 +01:00
- use-generateguid-for-unique-test-fixture-values.md/.good.al: documented each LibraryUtility helper's actual behavior, verified against LibraryUtility.Codeunit.al. GenerateRandomCode opens the target table as a temporary RecordRef, so despite taking TableNo it never checks real data. GenerateRandomXMLText performs no table lookup at all. Only GenerateRandomCodeWithLength/GenerateRandomCode20 (capped at Code[10]/ Code[20]) genuinely verify against the real table. Fixture switched to GenerateRandomCodeWithLength where the comment claims verified uniqueness. - al-testing-review.md: rewired the cue to catch the actual anti-pattern (hardcoded literals, hand-built uniqueness, short-field GUID truncation) instead of only matching the compliant GenerateGUID()+CopyStr shape; broadened tokens to include TestPage, Library - Utility, and .Visible()/.Enabled()/.Editable(). - al-data-modeling-review.md: restricted the Item Ledger Entry Last-Shipping-No. cue to sales combined posting; purchase combined posting is Receive+Invoice and uses different fields entirely. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| asserterror-needs-expectederror-and-code.bad.al | ||
| asserterror-needs-expectederror-and-code.good.al | ||
| asserterror-needs-expectederror-and-code.md | ||
| permission-tests-must-lower-the-execution-context.bad.al | ||
| permission-tests-must-lower-the-execution-context.good.al | ||
| permission-tests-must-lower-the-execution-context.md | ||
| testisolation-belongs-on-the-test-runner.bad.al | ||
| testisolation-belongs-on-the-test-runner.good.al | ||
| testisolation-belongs-on-the-test-runner.md | ||
| transactionmodel-attribute-governs-test-transactions.bad.al | ||
| transactionmodel-attribute-governs-test-transactions.good.al | ||
| transactionmodel-attribute-governs-test-transactions.md | ||
| ui-handlers-in-tests.bad.al | ||
| ui-handlers-in-tests.good.al | ||
| ui-handlers-in-tests.md | ||
| use-generateguid-for-unique-test-fixture-values.bad.al | ||
| use-generateguid-for-unique-test-fixture-values.good.al | ||
| use-generateguid-for-unique-test-fixture-values.md | ||
| use-library-codeunits-for-test-fixtures.bad.al | ||
| use-library-codeunits-for-test-fixtures.good.al | ||
| use-library-codeunits-for-test-fixtures.md | ||
| use-testpage-editable-to-verify-field-editability.bad.al | ||
| use-testpage-editable-to-verify-field-editability.good.al | ||
| use-testpage-editable-to-verify-field-editability.md | ||
| use-testpage-visible-enabled-to-verify-field-ui-state.bad.al | ||
| use-testpage-visible-enabled-to-verify-field-ui-state.good.al | ||
| use-testpage-visible-enabled-to-verify-field-ui-state.md | ||