Software-testing-dictionary-bottom-up-testing

提供:Dev Guides
移動先:案内検索

ボトムアップテスト

ボトムアップテストとは何ですか?

下位階層の各コンポーネントは個別にテストされ、これらのコンポーネントに依存するコンポーネントがテストされます。

ボトムアップ統合-フロー図

テストライフサイクルでのボトムアップテスト

ボトムダウンアプローチによる統合の順序は次のとおりです。

4,2
5,2
6,3
7,3
2,1
3,1

テスト方法:

+ Firstly, Test 4,5,6,7 individually using drivers.
+ Test 2 such that it calls 4 and 5 separately. If an error occurs we know that the problem is in one of the modules.
+ Test 1 such that it calls 3 and If an error occurs we know that the problem is in 3 or in the interface between 1 and 3

トップレベルのコンポーネントが最も重要ですが、この戦略を使用して最後にテストされています。 ボトムアップアプローチでは、コンポーネント2、3はドライバーに置き換えられ、コンポーネント4,5、6、7がテストされます。 通常、スタブよりも複雑です。