Missing data factory in test methods

Overview

Test methods should not create record instances directly as they would break whenever adding validation rules. As a best practice, the creation of test data records should be centralised using test data factories or builders.

Business Impact

Prolonged downtime, slower recovery from failures, and impaired business continuity.

Resources

Very Frequent

Incidence

How common is this issue?
48%25%
arrow down23%
lower

Exposure

How long do organizations remain exposed before fixing the problem?
2 years10 months
arrow down63%
shorter
BenchmarkWith Clayton

Frameworks

AdaptableiconResilienticonApplication Lifecycle ManagementiconTesting Strategyicon