What should an Architect do to ensure tests execute predictably?

Universal Containers recently added a new sales division to the Ensure that Record Type Ids match both Productiowhen migrating to Production, the Developer reports that Unit Tests are failing.

What should an Architect do to ensure tests execute predictably?
A . Ensure that Record Type Ids match both Production and Sandbox orgs
B . Ensure executed Apex test run as valid users
C . Ensure unit tests generate their own test data
D . Ensure unit tests execute with seeAllData=true

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments