PerTenantExtensionCop Error PTE0007

Test assertion functions are not allowed in a non-test context.

Description

Test assertion functions are not allowed in a non-test context.

Remarks

For examples and guidance on fixing this diagnostic, see AppSourceCop Rule AS0058.

PerTenantExtensionCop Analyzer
Get Started with AL
Developing Extensions