Skip to main content
Log in

Evolutionary selection for regression test cases based on diversity

  • Letter
  • Published:
Frontiers of Computer Science Aims and scope Submit manuscript

Conclusion

Although there are various studies related to selecting test cases, few are available for both path coverage and coverage balance. Our method is to select test cases that both traverse target paths and achieve coverage balance to improve the fault detection rate. We formulate the problem as an evolution selection by applying GA. Experimental results show that our method can effectively improve the fault detection rate of the selected test cases while ensuring the reduction rate. It can select a subset of test cases that meet testing requirements with high efficiency.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

References

  1. Mukherjee R, Patnaik K S. A survey on different approaches for software test case prioritization. Journal of King Saud University — Computer and Information Sciences, 2018

  2. Simone R, Giuseppe S, Giuliano A, Alessandro M. SPIRITuS: a simple information retrieval regression test selection approach. Information and Software Technology, 2018, 99: 62–80

    Article  Google Scholar 

  3. Cheng X M, Yang Q H, Zhai Y P, Chen W. Test case selection technique based on semi-supervised clustering method. Computer Science, 2018, 45(1): 249–254

    Google Scholar 

  4. Fang C R, Chen Z Y, Wu K, Zhao Z H. Similarity-based test case prioritization using ordered sequences of program entities. Software Quality Journal, 2014, 22(2): 335–361

    Article  Google Scholar 

  5. Ye W, Lu X Y, Lu X F, Ma L. Optimized test selection method considering critical faults. Systems Engineering and Electronics, 2019, 41(7): 1583–1589

    Google Scholar 

  6. Zhang Y. Theories and methods of evolutionary generation of test data for path coverage. Doctoral Dissertation, China University of Mining and Technology, 2012, 95–108

  7. Xia H, Song X, Wang L. Research of test case auto-generating based on Z path coverage. Modem Electronics Technique, 2006, 6: 92–94

    Google Scholar 

  8. Blondeau V, Etien A, Anquetil N, Cresson S, Croisy P, Ducasse S. Test case selection in industry: an analysis of issues related to static approaches. Software Quality Journal, 2017, 25: 1203–1237

    Article  Google Scholar 

Download references

Acknowledgements

This work was jointly funded by the Research Projects of Basic Scientific Research Business Expenses in Institutions of Higher Learning of Heilongjiang Province (1353ZD003 and 2018-KYYWFMY-0104); Science and Technology Research Project of Mudanjiang Normal University (YB2019003); the Scientific and Technological Plan Project of Mudanjiang City (Z2018g023); and the Innovation Foundation of Science and Technology of Dalian (2018J12GX045).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nianmin Yao.

Electronic Supplementary Material

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ma, B., Wan, L., Yao, N. et al. Evolutionary selection for regression test cases based on diversity. Front. Comput. Sci. 15, 152205 (2021). https://doi.org/10.1007/s11704-020-9229-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11704-020-9229-3

Navigation