1997; Elbaum et al., 2000; Rothermel et al., 2001;
Elbaum et al., 2002; 2004; Rothermel et al., 2004).
Wong et al. (1997) combined test suite minimization
and prioritization. Srivastava et al. (2002) employed
a binary matching system to prioritize test cases to
maximally program coverage. Do et al. (2006)
investigated the impact of test suite granularity. Li et
al. (2007) showed that genetic algorithms perform
well for test case prioritization, but greedy
algorithms are also effective in increasing the code
coverage rate. Jiang et al. (2009a) used adaptive
random testing concept to facilitate test case
prioritization. However, all those work focus on
prioritization techniques; they have not started from
industrial usage to report the problem of practice.
Our previous work (Jiang et al., 2009b) studied
the problem of how prioritization techniques affect
fault localization techniques in a continuous
integration environment. It inspires this work.
Walcott et al. (2006) investigated a time-aware
prioritization technique. It is related to resource
usage and thus related to our work.
5 CONCLUSIONS
Regression testing is a popular technique used to
evaluate the fitness of evolving software. In a
regression testing process, a test suite is run to
ensure the software functionalities. However, due to
the complicated functionality of software and urgent
tasks in development, the time used to run a test
suite can be much longer than the time interval
between two adjacent build versions. There is a need
to parallel the test suite runs.
In this paper, we start from a realistic industrial
scenario to show the problem. We next investigate
the advantages and disadvantages of our previous
strategies to address this issue. We finally propose a
testing in parallel manner, give the formal problem
settings and goals, and use a pipeline presentation to
visualize the problem.
6 FUTURE WORK
In the future work, we shall design an algorithm to
solve this problem, conduct controlled experiment to
evaluate our solution, and implement visualization
tools to support industrial usages.
ACKNOWLEDGEMENTS
This research is supported by the National High
Technology Research and Development Program of
China (project no. 2007AA01Z145).
REFERENCES
H. Do, G. Rothermel, and A. Kinneer (2006). Prioritizing
JUnit test cases: an empirical assessment and cost-
benefits analysis. Empirical Software Engineering.
S. G. Elbaum, A. G. Malishevsky, and G. Rothermel
(2000). Prioritizing test cases for regression testing. In
ISSTA 2000.
S. G. Elbaum, A. G. Malishevsky, and G. Rothermel
(2002). Test case prioritization: a family of empirical
studies. TSE.
S. G. Elbaum, G. Rothermel, S. Kanduri, and A. G.
Malishevsky (2004). Selecting a cost-effective test
case prioritization technique. Software Quality Control.
B. Jiang, Z. Zhang, W. K. Chan and T. H. Tse (2009a).
Adaptive random test case prioritization. In ASE 2009.
B. Jiang, Z. Zhang, T. H. Tse, and T. Y. Chen (2009b).
How well do test case prioritization techniques support
statistical fault localization. In COMPSAC 2009.
Z. Li, M. Harman, and R. M. Hierons (2007). Search
algorithms for regression test case prioritization. TSE.
A. K. Onoma, W.-T. Tsai, M. Poonawala, and H.
Suganuma (1998). Regression testing in an industrial
environment. Communications of the ACM.
M. K. Ramanathan, M. Koyuturk, A. Grama, and S.
Jagannathan (2008). PHALANX: a graph-theoretic
framework for test case prioritization. In SAC 2008.
G. Rothermel, S. G. Elbaum, A. G. Malishevsky, P.
Kallakuri, and X. Qiu (2004). On test suite
composition and costeffective regression testing.
TOSEM.
G. Rothermel and M. J. Harrold (1997). A safe, efficient
regression test selection technique. TOSEM.
G. Rothermel, R. H. Untch, C. Chu, and M. J. Harrold
(2001). Prioritizing test cases for regression testing.
TSE.
A. Srivastava and J. Thiagarajan (2002). Effectively
prioritizing tests in development environment. In
ISSTA 2002.
K. R. Walcott, M. L. Soffa, G. M. Kapfhammer, and R. S.
Roos (2006). Timeaware test suite prioritization. In
ISSTA 2006.
X. Wang, S. C. Cheung, W. K. Chan, and Z. Zhang (2009).
Taming coincidental correctness: coverage refinement
with context patterns to improve fault localization. In
ICSE 2009.
W. E. Wong, J. R. Horgan, S. London, and H. Agrawal
(1997). A study of effective regression testing in
practice. In ISSRE 1997.
ICSOFT 2010 - 5th International Conference on Software and Data Technologies
348