Automated unit test generation with realistic unit context synthesis for low false alarms실제적인 유닛 컨텍스트 합성으로 거짓 경보를 줄인 자동화된 유닛 테스트 생성

Cited 0 time in webofscience Cited 0 time in scopus
  • Hit : 605
  • Download : 0
Current testing practice in industry is often ineffective and inefficient to detect bugs since most test cases are created manually. In addition, the execution space of a complex target program is too large to explore in limited testing time. As a solution for these problems, automated unit test techniques automatically generate drivers/stubs for each unit of a target program and test cases to explore the execution space of each target unit separately. However, these techniques suffer a large number of false alarms due to approximated inaccurate unit contexts which allow infeasible executions of a target unit. In this dissertation, I present an automated unit test generation framework that synthesizes realistic unit context to automatically detect bugs with low false alarms. The first part of this dissertation presents CONBOL which is the world's first automated unit testing framework for large industrial C programs. CONBOL generates symbolic unit testing drivers/stubs automatically and applies heuristics to reduce false alarms caused by the imprecise drivers/stubs. CONBOL demonstrated its bug detection effectiveness by detecting 24 new crash bugs in a four million lines long industrial embedded program. The second part of this dissertation presents the world's most accurate automated unit testing framework CONCERT which reduces a large number of false alarms by automatically synthesizing realistic unit contexts. CONCERT synthesizes test drivers/stubs to represent realistic contexts of a target unit f by utilizing the code of the other units which are closely relevant to f. The relevance of other unit g to f is measured based on how many times g and f are executed together in system executions. In the experiments on the 67 crash bugs of the 15 real-world C programs (55KLOC on average), CONCERT demonstrates both high bug detection ability (i.e., 83.6% of the target bugs detected) and low false/true alarm ratio (i.e., 2.4 false alarms per one true alarm). As future work, I will improve the function correlation metric for reducing false alarms further. Also, I plan to develop a framework to build system test cases based on automatically generated unit test cases. Furthermore, I will utilize unit relevance information for other purposes such as impact analysis.
Advisors
Kim, Moonzooresearcher김문주researcher
Description
한국과학기술원 :전산학부,
Publisher
한국과학기술원
Issue Date
2017
Identifier
325007
Language
eng
Description

학위논문(박사) - 한국과학기술원 : 전산학부, 2017.2,[iv, 51 :]

Keywords

Automated unit testing; Realistic unit context; False alarm reduction; Function correlation; Dynamic analysis; Concolic testing; 자동화된 유닛 테스팅; 실제적인 유닛 컨텍스트; 거짓 경보 제거; 함수 연관도; 동적 분석; 콘콜릭 테스팅

URI
http://hdl.handle.net/10203/242089
Link
http://library.kaist.ac.kr/search/detail/view.do?bibCtrlNo=688401&flag=dissertation
Appears in Collection
CS-Theses_Ph.D.(박사논문)
Files in This Item
There are no files associated with this item.

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0