Getting Started

  • What is Trailhead
  • myTrailhead
  • Trailblazer Community
  • Career Growth

Learn

  • Trails
  • Trailmixes
  • Modules
  • Projects

Credentials

  • Superbadges
  • Certifications
  • Maintain Certifications

Salesforce

  • Salesforce.com
  • AppExchange
  • Developers
  • Help Portal
© 2026 Salesforce, Inc. All rights reserved. Privacy Terms of Use Trust Accessibility Cookie Preferences
SalesforceTrailhead
  • Today
Badge

Advanced Apex Testing

Learn why testing helps you create better software and how to run various unit tests.

RES

2.6K+ Trailblazers completed this

+3,000 Points
Advanced
Developer
~3 hrs
+3,000 Points
Advanced
Developer
~3 hrs
  • Get Started with Advanced Apex Testing+1,000 Points • ~1 hr
  • Mock and Stub Objects+1,000 Points • ~1 hr
  • Test Security and Async Code+1,000 Points • ~1 hr

About this Badge

Good tests isolate the code they test. Go beyond the basics with mocks and stubs, test code that runs as different users, and verify asynchronous work finishes the way you expect.

What You'll Learn

Emphasis shows primary focus areas. Learn More

Skills

Apex Testing•Apex Programming

Products

Salesforce Platform

Industries

Cross-Industry

Discover More

Continue your learning journey with these related badges and resources.

Apex Testing

Review unit-testing fundamentals.

Explore the Salesforce Platform

See how developers build apps, automation, and integrations on one platform.