Skip to main content
The Trailblazer Community will be unavailable from 12/02/2023 6:00AM PST to 12/02/2023 1:00PM PST. Please plan your activities accordingly.

Get a Refresh on Testing

Learning Objectives

After completing this unit, you'll be able to:

  • Write and execute tests for triggers, controllers, classes, flows, and processes using various sources of test data.

Key Topics

This unit prepares you for the Testing, Debugging, and Deployment section of the Platform Developer I exam, which makes up 22% of the overall exam. Testing topics include:

  • Testing frameworks and requirements
  • Test data
  • Executing a test
  • Test considerations

This unit provides a number of interactive, real-world, scenario-based questions that are a lot like the ones you can encounter as a Salesforce developer. Looking at these scenarios helps prepare you for the testing topics of the Platform Developer I exam. As you tackle the practice questions, you get immediate feedback on your answers, along with detailed information on why your answers are correct (or incorrect).

The unit also contains interactive flashcards to help you prepare for this section of the exam.

Exam Practice Questions

Ready to jump in? The sample tool below is not scored—it's just an easy way to quiz yourself. To use it, read the scenario and click the answer you think is correct. Some questions may have more than one correct answer. Click Submit and you get a popup telling you whether the answer you chose is correct or incorrect, and why; if there's a longer explanation, click Expand Button and then click anywhere in the window to close it. When you reach the end you can review the answers or retake the questions.

Exam Topic Flashcards

The following flashcards cover testing frameworks, executing tests, and test considerations. Use these interactive flashcards to brush up on some of the key topics you'll find on this part of the exam.

Read the question or term on each card, then click the card to reveal the correct answer. Click the right-facing arrow to move to the next card, and the left-facing arrow to return to the previous card.

Looking for more information? Explore these related badges.


Apex Testing Badge

Apex Testing


Asynchronous Apex Badge

Asynchronous Apex


Congratulations! You've studied up on all things related to testing. Up next, let's dive into the exam section on debugging and deployment. Let's go!


Keep learning for
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities