Advances in Unit Testing: Theory and Practice

被引:10
|
作者
Xie, Tao [1 ]
Tillmann, Nikolai [2 ]
Lakshman, Pratap [3 ]
机构
[1] Univ Illinois, Urbana, IL 61801 USA
[2] Microsoft, Tools Software Engn, Redmond, WA 98052 USA
[3] Microsoft, Developer Div, Hyderabad, Andhra Pradesh, India
关键词
Parameterized Unit Testing; Test Generation; Test Oracles;
D O I
10.1145/2889160.2891056
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Parameterized unit testing, recent advances in unit testing, is a new methodology extending the previous industry practice based on traditional unit tests without parameters. A parameterized unit test (PUT) is simply a test method that takes parameters, calls the code under test, and states assertions. Parameterized unit testing allows the separation of two testing concerns or tasks: the specification of external, black-box behavior (i.e., assertions or specifications) by developers and the generation and selection of internal, white box test inputs (i.e., high-code-covering test inputs) by tools. PUTs have been supported by various testing frameworks. Various open source and industrial testing tools also exist to generate test inputs for PUTs. This technical briefing presents latest research on principles and techniques, as well as practical considerations to apply parameterized unit testing on real-world programs, highlighting success stories, research and education achievements, and future research directions in developer testing.
引用
下载
收藏
页码:904 / 905
页数:2
相关论文
共 50 条
  • [1] Unit testing in practice
    Ellims, M
    Bridges, J
    Ince, DC
    15TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2004, : 3 - 13
  • [2] ADVANCES IN THEORY AND PRACTICE OF FILTRATION
    不详
    BRITISH CHEMICAL ENGINEERING, 1969, 14 (05): : 701 - &
  • [3] Hydrology: advances in theory and practice
    Quinn, Nevil W.
    HYDROLOGY RESEARCH, 2019, 50 (06): : 1463 - 1463
  • [4] Advances in the Theory and Practice of Incentives
    Mace, C. A.
    OCCUPATIONAL PSYCHOLOGY, 1950, 24 (04): : 239 - 244
  • [5] Advances in the theory and practice of graph drawing
    Tamassia, R
    THEORETICAL COMPUTER SCIENCE, 1999, 217 (02) : 235 - 254
  • [6] Genome informatics: advances in theory and practice
    Szu-chin Fu
    Paul Horton
    Genome Medicine, 2
  • [7] Advances in complexity and education:: theory and practice
    Lopez Ruperez, Francisco
    TEORIA DE LA EDUCACION, 2008, 20 : 362 - 364
  • [8] Advances in the practice and theory of automated timetabling
    Ozcan, Ender
    De Causmaecker, Patrick
    Vanden Berghe, Greet
    JOURNAL OF SCHEDULING, 2022, 25 (03) : 259 - 259
  • [9] Advances in complexity and education : theory and practice
    Barcena, Fernando
    REVISTA ESPANOLA DE PEDAGOGIA, 2007, 65 (237): : 363 - 367
  • [10] Advances in networked media - Theory and practice
    Zhang, YQ
    2003 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, VOL I, PROCEEDINGS: SPEECH PROCESSING I, 2003, : 2 - 2