0
0
Testing Fundamentalstesting~5 mins

Test automation pyramid in Testing Fundamentals - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the Test Automation Pyramid?
The Test Automation Pyramid is a model that shows how to organize automated tests. It suggests having many small, fast unit tests at the bottom, fewer integration tests in the middle, and even fewer slow, expensive UI tests at the top.
Click to reveal answer
beginner
Why should there be more unit tests than UI tests in the Test Automation Pyramid?
Unit tests are fast, cheap, and easy to maintain. UI tests are slower, more fragile, and costly. Having more unit tests helps catch bugs early and keeps tests running quickly.
Click to reveal answer
beginner
Name the three layers of the Test Automation Pyramid from bottom to top.
1. Unit Tests (bottom) - test small pieces of code 2. Integration Tests (middle) - test how parts work together 3. UI/End-to-End Tests (top) - test the whole system from the user's view
Click to reveal answer
intermediate
What is a key benefit of following the Test Automation Pyramid?
It helps create a balanced test suite that is fast, reliable, and cost-effective by focusing on many small tests and fewer slow, complex tests.
Click to reveal answer
beginner
Give a real-life example to explain the Test Automation Pyramid.
Think of checking a car before a trip: you check many small parts like tires and oil (unit tests), then test how the engine and brakes work together (integration tests), and finally take the car for a short drive to see if everything works as a whole (UI tests).
Click to reveal answer
Which layer of the Test Automation Pyramid should have the most tests?
AManual Tests
BIntegration Tests
CUnit Tests
DUI Tests
Why are UI tests placed at the top of the Test Automation Pyramid?
AThey are the most expensive and slowest tests
BThey test small pieces of code
CThey are the fastest tests
DThey do not require maintenance
What is the main focus of integration tests in the pyramid?
ATesting how different parts work together
BTesting individual functions
CTesting the user interface
DTesting performance only
What happens if you have too many UI tests and not enough unit tests?
ATests run faster
BTests become slow and fragile
CYou catch bugs earlier
DTests require less maintenance
Which of these is NOT a benefit of following the Test Automation Pyramid?
ALower maintenance cost
BBalanced test coverage
CFaster test execution
DMore manual testing
Explain the Test Automation Pyramid and why it is important.
Think about test speed, cost, and reliability.
You got /4 concepts.
    Describe a real-life example that helps you understand the Test Automation Pyramid.
    Use something like checking a car or cooking a meal.
    You got /3 concepts.