Sheet 09 · QuizzesSurveyed 2026

Testing Strategies: Unit, Integration, E2E

20 QuestionsIntermediatePublished:

Testing Strategies: Unit, Integration, E2E

Up to 20 questions, shuffled on every run

Quiz Configuration
Enterto start

Welcome to the Testing Strategies Quiz! This quiz covers unit testing, integration testing, end-to-end testing, mocking, fixtures, code coverage, and more. Test your knowledge and understanding of these essential concepts in software testing. Good luck!

Answer key and explanations20 questions

The quiz above draws 20 questions at random from these 30, so a second attempt will not be the same run. Everything in the pool is listed here.

  1. What is unit testing?

    AnswerThe practice of verifying individual functions or methods in complete isolation

  2. What is integration testing?

    AnswerThe verification of interactions between multiple components or external services

  3. What is end-to-end (E2E) testing?

    AnswerThe simulation of complete user workflows from the frontend through to the backend

  4. What is the test pyramid?

    AnswerA strategy favoring many unit tests, fewer integration tests, and minimal E2E tests

  5. What is a mock?

    AnswerA replacement for a dependency that allows for controlling and inspecting behavior

  6. What is a stub?

    AnswerA simplified object that returns fixed, predetermined data for specific calls

  7. What is a spy?

    AnswerA wrapper around a function that records details about how it was called

  8. What is a fixture?

    AnswerA baseline set of data or state used consistently across multiple test cases

  9. What is code coverage?

    AnswerA metric indicating the percentage of source code executed during a test suite

  10. What is Cypress?

    AnswerA modern, browser-based framework designed for end-to-end testing

  11. What is test isolation?

    AnswerEnsuring that the outcome of one test does not affect the outcome of another

  12. What is a flaky test?

    AnswerA test that provides inconsistent results without any changes to the code

  13. What is Test-Driven Development (TDD)?

    AnswerA process where you write a failing test before writing the actual implementation

  14. What is Behavior-Driven Development (BDD)?

    AnswerA methodology using human-readable descriptions to define how an application should act

  15. What is snapshot testing?

    AnswerA technique that compares the current output of a component to a previously stored version

  16. What is the AAA (Arrange-Act-Assert) pattern?

    AnswerA structural pattern that divides a test into three clear, sequential phases

  17. What is parameterized testing?

    AnswerA method for executing the same test logic multiple times using different input data

  18. What is regression testing?

    AnswerRe-running existing tests to confirm that new changes have not introduced any new bugs

  19. What is smoke testing?

    AnswerA preliminary set of tests that verify the most critical functions of an application

  20. What is performance/load testing?

    AnswerA strategy to evaluate how a system performs under a high volume of concurrent users

  21. What is security testing?

    AnswerThe practice of identifying vulnerabilities and threats in application code or infrastructure

  22. What is contract testing?

    AnswerA technique to ensure that a provider and a consumer of an API agree on the data format

  23. What is mutation testing?

    AnswerAn advanced method that modifies the source code to check if the test suite fails

  24. What is property-based testing?

    AnswerA strategy where a test generates random data to verify that certain logic properties always hold

  25. What is accessibility testing?

    AnswerThe practice of ensuring that software is usable by people with various disabilities

  26. What is the test data builder pattern?

    AnswerA design pattern that uses a fluent interface to construct complex objects for testing

  27. What is test isolation and why is it important?

    AnswerA requirement that tests remain independent to prevent side effects and shared state

  28. What is continuous testing in CI/CD?

    AnswerThe automated execution of software tests as part of the software delivery pipeline

  29. What is canary testing and canary deployment?

    AnswerThe process of releasing a new version of code to a small group of users to monitor performance

  30. What is chaos engineering and chaos testing?

    AnswerThe discipline of experimenting on a system to ensure its ability to withstand turbulent conditions

Was this useful?

You might also enjoy

More posts on similar topics

CI/CD: Pipeline Automation Essentials

CI/CD: Pipeline Automation Essentials

Welcome to the CI/CD Basics Quiz! This quiz covers fundamental continuous integration and continuous delivery concepts, pipeline automation, and modern DevOps best practices. Each question is multiple

Kubernetes Advanced: Production Operations & Scaling

Kubernetes Advanced: Production Operations & Scaling

Welcome to the Kubernetes Advanced Quiz! This quiz is designed to test your knowledge of Kubernetes concepts related to production operations and scaling. Each question will challenge your understandi

Infrastructure Patterns: IaC, Provisioning & Orchestration

Infrastructure Patterns: IaC, Provisioning & Orchestration

Welcome to the Infrastructure Patterns Quiz! This quiz will test your knowledge of infrastructure management, including Infrastructure as Code (IaC), provisioning, configuration management, orchestrat

HashiCorp Vault: Secrets Management Fundamentals

HashiCorp Vault: Secrets Management Fundamentals

Welcome to the HashiCorp Vault Basics Quiz! In modern DevOps, security cannot be an afterthought. Vault provides the "Source of Truth" for secrets, certificates, and encryption. This quiz will test yo

Helm: Kubernetes Package Management Essentials

Helm: Kubernetes Package Management Essentials

Welcome to the Helm Basics Quiz! Helm is the "Package Manager for Kubernetes," and understanding it matters for any modern DevOps engineer. This quiz will test your knowledge of how charts are structu

GitLab CI/CD: Pipeline Automation Fundamentals

GitLab CI/CD: Pipeline Automation Fundamentals

Welcome to the GitLab CI/CD Basics Quiz! This quiz covers the fundamentals of GitLab CI/CD, including pipelines, jobs, stages, triggers, and best practices. Test your knowledge and see how well you un

6 related posts