Introducing Test Automation and Test-Driven Development: An Experience Report

被引:13
作者
Damm, Lars-Ola [1 ,2 ]
Lundberg, Lars [1 ]
Olsson, David [2 ]
机构
[1] Blekinge Inst Technol, Dept Sw Eng & Comp Sc, Ronneby, Sweden
[2] Ericsson AB, Soft Ctr, SE-37225 Ronneby, Sweden
关键词
Software test automation; test-driven development; component testing; unit testing; test tool;
D O I
10.1016/j.entcs.2004.02.090
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper identifies and presents an approach to software component-level testing that in a cost effective way can move defect detection earlier in the development process. A department at Ericsson AB introduced a test automation tool for component-level testing in two projects together with the concept test-driven development (TDD), a practice where the test code is written before the product code. The implemented approach differs from how TDD is used in Extreme Programming (XP) in that the tests are written for components exchanging XMLs instead of writing tests for every method in every class. This paper describes the implemented test automation tool, how test-driven development was implemented with the tool, and experiences from the implementation. Preliminary results indicate that the concept decreases the development lead-time significantly.
引用
收藏
页码:3 / 15
页数:13
相关论文
共 23 条
[1]   Aim, fire [J].
Beck, K .
IEEE SOFTWARE, 2001, 18 (05) :87-89
[2]  
Beck K., 2003, TEST DRIVEN DEV EXAM
[3]  
Beizer B, 1990, SOFTWARE TESTING TEC
[4]  
Berwick M., 1993, MANAGEMENT MEASUREME, P51
[5]  
Boehm B.W., 1981, SOFTWARE ENG EC
[6]  
Cockburn A., 2002, AGILE SOFTWARE DEV
[7]  
Damm L-O., 2002, THESIS, P60
[8]  
Fewster M., 1993, MANAGEMENT MEASUREME, P193
[9]  
FEWSTER M, 1999, SOFTWARE TEST AUTOMA
[10]  
Hambling B., 1993, MANAGEMENT MEASUREME, P95