codejump

E2E & Performance Testing

Preview — 3 of 10 questions

What does the testing pyramid suggest about test distribution?

AMany unit tests (base), fewer integration tests (middle), fewer end-to-end tests (top).
BWrite equal numbers of unit, integration, and end-to-end tests.
CMost tests should be end-to-end tests.
DTesting pyramid is outdated.

What is snapshot testing?

ATaking a screenshot of the UI.
BA backup of your test files.
CTesting only image files.
DCapturing the output of a function and comparing future outputs to it.

What tools can you use to debug JavaScript performance issues?

AConsole.log is enough.
BPerformance issues cannot be debugged.
CPerformance API, Lighthouse, DevTools profiler, WebPageTest.
DOnly browser extensions.

Sign up free to play

Answer all 10 questions (7 more), see explanations for every answer, and track your score.