All quizzes
Free quiz · 50 questions in the bank

Testing quiz

Test your Testing knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What is the "AAA" pattern in test structure?

In this round
  1. What is the "AAA" pattern in test structure?
  2. What do `beforeEach` / `afterEach` (or `setUp` / `tearDown`) typically do?
  3. Why is 100% test coverage NOT a guarantee that the code is correct?
  4. What is the basic difference between a mock and a stub?
  5. Why must tests be deterministic?
  6. Why should one test ideally test ONE behavior?
  7. What is a "smoke test"?
  8. What is the purpose of a regression test?
  9. What is the difference between black-box and white-box testing?
  10. Which test name communicates intent best?
  11. What does the "test pyramid" recommend about a test suite's shape?
  12. Why should tests be independent (not depend on order or shared mutable state)?
Gaps to close?
Read the curated Testing notes — core concepts, patterns, interview prep.
Testing notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid