Press → key to advance.
Slides controls, press:
「テスト」という言葉から思い浮かべるものを…
DeveloperTesting | CustomerTesting | QATesting |
---|---|---|
開発者 | 顧客(のロール) | 品質保証担当者(のロール) |
開発促進 | 進捗管理 | 品質保証 |
「誰が、何のために」という視点で再分類する
Developer Testing, TDD にソフトウェア工学的なメリットはいろいろあるけれど、最大の理由は工学的なものではない。最大の理由は 心理的 なもの
テストやTDDは スキル です。つまり…
IBM Driver | MS Windows | MS MSN | MS Visual Studio | |
---|---|---|---|---|
ソースコードサイズ (KLOC) | 41.0 | 6.0 | 26.0 | 155.2 |
テストコードサイズ (KLOC) | 28.5 | 4.0 | 23.2 | 60.3 |
欠陥密度(※1) | 0.61 | 0.38 | 0.24 | 0.09 |
増加したコード実装時間(※2) | 15~20% | 25~35% | 15% | 25~20% |
(※1)TDDを採用していない類似プロジェクトでの欠陥密度を1としたときの欠陥密度
(※2)TDD採用により増加したコード実装時間(管理者の見積による)
N. Nagappan, M. E. Maximilien, T. Bhat and L. Williams: Realizing quality improvement through test driven development: results and experiences of four industrial teams, Journal of Empirical Software Engineering, vol. 13, pp. 289-302 (2008)
TDDを実施した場合に報告されている知見
被験者を対象としたアンケート
Boby George, a and Laurie Williams: A structured experiment of test-driven development, Journal of Information and Software Technology Vol. 46, No. 5, p. 337-342(2004)