Skip to main content
1 of 2
xyz sfdc
  • 179
  • 1
  • 11

Why do we have @TestSetup, when the result is as equal to not using them?

If you create additional test records inside a test method, those records are rolled back at the end of the test method’s execution, which also happens when you’re not using test setup methods.

https://developer.salesforce.com/releases/release/Spring15/TestClasses

xyz sfdc
  • 179
  • 1
  • 11