Get a Refresh on Testing
After completing this unit, you’ll be able to:
- Describe the use cases for invoking anonymous code and the differences between invoking Apex in execute anonymous vs. unit tests.
- Write and execute tests for triggers, controllers, classes, flows, and processes using various sources of test data.
This unit prepares you for the Testing, Debugging, and Deployment section of the Platform Developer I exam, which makes up 17% of the overall exam. This section of the exam tests these topics.
- 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 to take the testing section 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.
Would you like a hard copy of the contents in these modules? Each module includes a link to a printable version you can download. Download the Platform Developer I Certification Prep: Testing, Debugging and Deployment guide.
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 and then click anywhere in the window to close it. When you reach the end you can review the answers or retake the questions.
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.
Developer Console Basics
Congratulations! You’ve studied up on all things related to testing. Up next, let’s dive in to the exam section on debugging and deployment. Let's go!