Source: dzone.com

Testing Iceberg

Category: automation, selenium

by This figure represents the "ideal" way to distribute the automatic tests of a system in its different layers.

Therefore, according to this distribution, it would be desirable that the number of unit tests is proportionally greater than the rest of the levels, and that as we go up the layer, these decrease.

I insist on the idea that the pyramid only represents the "ideal" model of automated test implementation, and we must be clear that we will not be able to reach it if the appropriate conditions are not met, that is if the context is not the right one.

For this type of system, it makes much more sense to focus on integration testing, since that is where the business logic is encoded and where most interactions are established.

Related Articles