004 金字塔的神秘层

敏捷理念
敏捷理念
004 金字塔的神秘层
Loading
/

在网上你就可以浏览到测试自动化金字塔的图像,你会看到宏观测试是在顶部和微观测试在底部,就如协商好的一样。但是位于二者的中间仍隐藏着许多神秘。我全副武装去探索了许多其他公司的自动化金字塔。我了解到,有些人将他们的服务API测试放在这里,有些人将独立的数据库测试或其它一些测试超出了边界,如过程和网络。但是每个人都同意,他们可以在底层保持简单的成千上万的的微观测试但只有少数UI和全栈的测试在玻璃阁楼顶部(所以我们可要看好这个昂贵的LV包了?)。这中间,秘密地空间,就是我们可以把尽可能多的不需用户界面的宏观试验放在这。所以这秘密的一层住着很多形形色色的“皮下”测试。

004 The Pyramid’s Secret Floor

Agile Thoughts
Agile Thoughts
004 The Pyramid's Secret Floor
Loading
/

Images of the test automation pyramid are available online and you’ll see good agreement that macro tests are at the top and micro tests in the bottom. But there’s a lot of mystery about what goes into the middle floor. I’ve put on my leather hat and brought my bullwhip and explored the automation pyramids at many other companies.

003 Macrotests at the Top of the Pyramid

Agile Thoughts
Agile Thoughts
003 Macrotests at the Top of the Pyramid
Loading
/

While the bottom of the test pyramid is biggest enough to house a few soccer fields and a monster truck rally, the top floor of the pyramid only has room for a long long table, a big screen tv, and a minibar fridge. Oh yeah, and macro tests.

003 金字塔顶层

敏捷理念
敏捷理念
003 金字塔顶层
Loading
/

当测试金字塔底部最大的空间大到足以容纳几个足球场和一个怪物卡车,而这个金字塔的顶层只有一个长长的桌子的房间,大屏幕电视、冰箱、迷你吧!

002 金字塔的基石

敏捷理念
敏捷理念
002 金字塔的基石
Loading
/

金字塔的最小楼层是顶部,因为它比宽敞的底部窄得多。而顶部只有一个乒乓球桌和电视的空间,底部有一个足球场或两个房间。

002 The Pyramid’s Ground Floor

Agile Thoughts
Agile Thoughts
002 The Pyramid's Ground Floor
Loading
/

The smallest floor of the pyramid is the top as it’s much narrower than the spacious bottom. While the top only has room for a ping pong table and a TV, the bottom has room for a soccer field or two.

001 Build a Solid Pyramid

Agile Thoughts
Agile Thoughts
001 Build a Solid Pyramid
Loading
/

To have sustainable test automation, there is this idea that you need two levels of testing: macrotests, and microstests.