A history-based test prioritization technique for regression testing in resource constrained environments

被引:177
作者
Kim, JM [1 ]
Porter, A [1 ]
机构
[1] Univ Maryland, Dept Comp Sci, College Pk, MD 20742 USA
来源
ICSE 2002: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING | 2002年
关键词
Regression testing; test history; prioritization; empirical study;
D O I
10.1109/ICSE.2002.1007961
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Regression testing is an expensive and frequently executed maintenance process used to revalidate modified software. To improve it, regression test selection (RTS) techniques strive to lower costs without overly reducing effectiveness by carefully selecting a subset of the test suite. Under certain conditions, some can even guarantee that the selected test cases perform no worse than the original test suite. But this ignores certain software development realities such as resource and time constraints that may prevent using RTS techniques as intended (e.g., regression testing must be done overnight, but RTS selection returns two days worth of tests). In practice, testers work around this by prioritizing the test cases and running only those that fit within existing constraints. Unfortunately this generally violates key RTS assumptions, voiding RTS technique guarantees and making regression testing performance unpredictable. Despite this, existing prioritization techniques are memoryless, implicitly assuming that local choices can ensure adequate long run performance, Instead, we proposed a new technique that bases prioritization on historical execution data. We conducted an experiment to assess its effects on the long run performance of resource constrained regression testing. Our results expose essential tradeoffs that should be considered when using these techniques over a series of software releases.
引用
收藏
页码:119 / 129
页数:11
相关论文
共 22 条
  • [1] Agrawal H., 1993, Proceedings. Conference on Software Maintenance 1993. CSM-93 (Cat. No.93CH3360-5), P348, DOI 10.1109/ICSM.1993.366927
  • [2] Brown R.G., 1959, STAT FORECASTING INV
  • [3] CHEN YF, 1994, PROC INT CONF SOFTW, P211
  • [4] Fischer K, 1981, P NAT TEL C, P1
  • [5] An empirical study of regression test selection techniques
    Graves, TL
    Harrold, MJ
    Kim, JM
    Porter, A
    Rothermel, G
    [J]. PROCEEDINGS OF THE 1998 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 1998, : 188 - 197
  • [6] Harrold M. J., 1988, Proceedings of the Conference on Software Maintenance - 1988 (IEEE Cat. No.88CH2615-3), P362, DOI 10.1109/ICSM.1988.10188
  • [7] TECHNIQUES FOR SELECTIVE REVALIDATION
    HARTMANN, J
    ROBSON, DJ
    [J]. IEEE SOFTWARE, 1990, 7 (01) : 31 - 36
  • [8] HUTCHINS M, 1994, PROC INT CONF SOFTW, P191, DOI 10.1109/ICSE.1994.296778
  • [9] KIM JM, 2000, P 22 INT C SOFTW ENG, P126
  • [10] Leung H. K. N., 1989, Proceedings: Conference on Software Maintenance (Cat. No.89CH2744-1), P60, DOI 10.1109/ICSM.1989.65194