The Testing Pyramide

You are here:
Estimated reading time: 1 min

There are three kinds of automated software tests: Unit tests focus on a small unit of behavior, provide fast feedback and do that in isolation from other tests. Integration tests lack at least one of the mentioned properties of unit tests. Typically an integration test verifies the behavior of multiple modules together as well as their interaction with other processes like database management systems. Additionally it takes longer to execute and is more effort to develop than a unit test. End-to-end tests are special integration tests that verify the system from a user’s perspective including all external applications the system integrates with. End-to-end tests are hard to develop and maintain. Furthermore, they can take a very long time to execute and tend to be big in size. That leads to the metaphor of the ‘Testing Pyramid’: The base consists of a large number of unit tests. Then there is an intermediate layer of fewer integration tests and the top consists of even fewer end-to-end tests. Of course this is just a guideline. The concrete mix of tests depends on the kind of system you are developing.

Was this article helpful?
Dislike 0
Views: 128

Continue reading

Previous: Integration Test
Next: Unit Test

We use cookies to give you the best online experience. By agreeing you accept the use of cookies in accordance with our cookie policy.

Privacy Settings saved!
Privacy Settings

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. Control your personal Cookie Services here.

GetResponse, Google Analytics

We use LinkedIn Insight for marketing purposes. You can disable these cookies.

We use Google Analytics for marketing purposes. You can disable these cookies.
  • __utmz
  • __utma
  • _ga
  • _gat

We use GetResponse for marketing purposes. This service cannot be disabled, otherwise the website functions will be limited.

Decline all Services
Accept all Services
Get Free Access Now to
9 eBooks!
All about Automated Software Testing
Proven experts
Learn to save up to 75% of your test efforts
Get Free Access Now!
Get Access Now! & Save 50%
Personal Trainer FREE Nutrition Custom Workout App
Get Access Now!
eBook Download
Enter your details to get your free ebook!
All about Automated Software Testing
Download Free Ebook
Lorem ipsum dolor sit amet, consectetur adipiscing