Skip to main content

Explore Testing

Learning Objectives

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

  • Understand differences between unit testing, integration testing, and end-to-end testing.
  • Describe some of the tools used to perform JavaScript testing.

Key Topics

This unit prepares you for the Testing section of the Salesforce JavaScript Developer I multiple-choice exam, which makes up 7% of the overall exam. This section of the exam tests these topics.

  • Test types
  • Running tests
  • Testing tools

Like the previous unit, this unit contains practice scenario-based questions and flashcards.

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, then click the answer you think is correct. Some questions may have more than one correct answer. Click Submit to learn 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.

Did you get a scenario wrong? Check out the table below for related study material.

Scenario 1
Review the MDN web docs: console.assert() documentation to better understand the console.assert method and its properties.
Scenario 2
Discover testing issues by reviewing Kent C. Dodds: Testing Implementation Details.

Exam Topic Flashcards

The following flashcards cover Testing. 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 or tap 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.

Did you get a flashcard wrong? Check out the table below for related study material.

Flashcard 1
Study up on black-box and white-box testing practices by reviewing Technology Conversations: Black-box vs White-box Testing.
Flashcard 2
Understand false-positive and false-negative testing by reading Kent C. Dodds: Testing Implementation Details.

Looking for more information? Explore these related badges.

Badge Content Type
JavaScript Skills for Salesforce Developers badge. JavaScript Skills for Salesforce Developers
Module
Modern JavaScript Development badge. Modern JavaScript Development
Module

Congratulations. You’ve covered 14% of the Salesforce JavaScript Developer I multiple-choice exam material in this badge. 

You’ve reviewed these sections. 

  • Debugging and Error Handling
  • Testing

Be sure to review the other two Salesforce JavaScript Developer I Certification Prep badges. Good luck on your exam!

Resources

Formez-vous gratuitement !
Créez un compte pour continuer.
Qu’est-ce que vous y gagnez ?
  • Obtenez des recommandations personnalisées pour vos objectifs de carrière
  • Mettez en pratique vos compétences grâce à des défis pratiques et à des questionnaires
  • Suivez et partagez vos progrès avec des employeurs
  • Découvrez des opportunités de mentorat et de carrière