Skip to main content

Testing Pyramid

  • Chapter
  • First Online:
Modularizing Legacy Projects Using TDD

Abstract

Now that we know how to use XCTest and XCUITest to write tests in iOS, we need to know the types of tests we should be writing, as well as the quantity of each type of testing. And this is where the “Testing Pyramid" comes in. It is a concept that helps in answering both of these questions. Mike Cohn came up with this concept in his book Succeeding with Agile. It's a great visual metaphor telling you to think about different layers of testing. It also tells you how much testing to do on each layer.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Khaled El-Morabea and Hassaan El-Garem

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

El-Morabea, K., El-Garem, H. (2021). Testing Pyramid. In: Modularizing Legacy Projects Using TDD. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7428-6_4

Download citation

Publish with us

Policies and ethics