Practitioners' Views on Good Software Testing Practices

被引:24
|
作者
Kochhar, Pavneet Singh [1 ]
Xia, Xin [2 ]
Lo, David [3 ]
机构
[1] Microsoft, Mississauga, ON, Canada
[2] Monash Univ, Fac Informat Technol, Clayton, Vic, Australia
[3] Singapore Management Univ, Sch Informat Syst, Singapore, Singapore
关键词
METRICS;
D O I
10.1109/ICSE-SEIP.2019.00015
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software testing is an integral part of software development process. Unfortunately, for many projects, bugs are prevalent despite testing effort, and testing continues to cost significant amount of time and resources. This brings forward the issue of test case quality and prompts us to investigate what make good test cases. To answer this important question, we interview 21 and survey 261 practitioners, who come from many small to large companies and open source projects distributed in 27 countries, to create and validate 29 hypotheses that describe characteristics of good test cases and testing practices. These characteristics span multiple dimensions including test case contents, size and complexity, coverage, maintainability, and bug detection. We present highly rated characteristics and rationales why practitioners agree or disagree with them, which in turn highlight best practices and trade-offs that need to be considered in the creation of test cases. Our findings also highlight open problems and opportunities for software engineering researchers to improve practitioner activities and address their pain points.
引用
收藏
页码:61 / 70
页数:10
相关论文
共 50 条
  • [1] Good modelling software practices
    Lemmen, Carsten
    Sommer, Philipp Sebastian
    ECOLOGICAL MODELLING, 2024, 498
  • [2] Practitioners' Testimonials about Software Testing
    Waychal, Pradeep
    Capretz, Luiz Fernando
    Jia, Jingdong
    Varona, Daniel
    Lizama, Yadira
    2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, : 582 - 589
  • [3] Motivators of Software Process Improvement: an analysis of practitioners' views
    Baddoo, N
    Hall, T
    JOURNAL OF SYSTEMS AND SOFTWARE, 2002, 62 (02) : 85 - 96
  • [4] Survey on software testing practices
    Lee, J.
    Kang, S.
    Lee, D.
    IET SOFTWARE, 2012, 6 (03) : 275 - 282
  • [5] Software testing practices in industry
    Juristo, Natalia
    Moreno, Ana M.
    Strigel, Wolfgang
    IEEE SOFTWARE, 2006, 23 (04) : 19 - 21
  • [6] Secure Software Practices among Malaysian Software Practitioners: An Exploratory Study
    Mohamed, Shafinah Farvin Packeer
    Baharom, Fauziah
    Deraman, Aziz
    Yahya, Jamaiah
    Mohd, Haslina
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON APPLIED SCIENCE AND TECHNOLOGY 2016 (ICAST '16), 2016, 1761
  • [7] Issues in Software Development Practices A South African Software Practitioners' Viewpoint
    Mavetera, Nehemiah
    Kroeze, Jan
    INNOVATION AND KNOWLEDGE MANAGEMENT IN TWIN TRACK ECONOMIES: CHALLENGES & SOLUTIONS, VOLS 1-3, 2009, : 449 - +
  • [8] Software Testing and Code Refactoring: A Survey with Practitioners
    Lima, Danilo Leandro
    Santos, Ronnie de Souza
    Garcia, Guilherme Pires
    da Silva, Sildemir S.
    Franca, Cesar
    Capretz, Luiz Fernando
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION, ICSME, 2023, : 500 - 507
  • [9] Software development with feature toggles: practices used by practitioners
    Mahdavi-Hezaveh, Rezvan
    Dremann, Jacob
    Williams, Laurie
    EMPIRICAL SOFTWARE ENGINEERING, 2021, 26 (01)
  • [10] Software Security in DevOps: Synthesizing Practitioners' Perceptions and Practices
    Rahman, Akond Ashfaque Ur
    Williams, Laurie
    INTERNATIONAL WORKSHOP ON CONTINUOUS SOFTWARE EVOLUTION AND DELIVERY, CSED 2016, 2016, : 70 - 76