• Cert++
  • Practice
  • Certle
  • Review
  • Tracks
  • Checklist
  • Guides
  • Upgrade

How Apex unit tests behave with respect to sharing when using System.runAs(): which sharing rules are evaluated, whether sharing table data carries over from test setup, and why test isolation can produce false positives.