DOI QR코드

DOI QR Code

Design and Implementation of code generator to remove the parameter boundary failure in the unit test

단위테스트 중 매개변수 경계오류제거를 위한 코드 자동생성 시스템 설계와 구현

  • Received : 2015.05.07
  • Accepted : 2015.05.27
  • Published : 2015.06.30

Abstract

As programs get more complicated and they are developed by various hands, the possibility that there are program bugs in the code has been increasing. And developers usually run unit tests to find these problems in the code. Besides, the developers are at the pain of getting stability of the code when they have to modify a code very often for clients requirements. In the methodlogy of TDD(Test Driven Development), developers write a unit test code first, and then write a program code for passing the unit test. The unit test must include the boundary condition test the reason why the possibility of occurring the bugs is very high. When failed to pass the test because of the value of a function is incorrect, not existed, out of the range or not matched etc, the program code will return the error code or occur the exception. In the document, the system is designed and implemented in order to insert the generated code automatically or suggest it to the developer, when the boundary condition test is failed. In conclusion, it is possible that the developer will get the code stability by searching the code and checking the code to be omitted automatically through this system.

Keywords

References

  1. 제임스 W 그레닝, 임베디드 C를 위한 TDD, 인사이트, 2012, pp. 5-7.
  2. 데이비드 토머스. 앤드류 헌트, 실용주의 프로그래 머를 위한 단위 테스트 with Junit, 인사이트, 2004, pp. 63-69.
  3. 박영조, 방혜자, "HTML을 위한 데이터베이스기반 스크립트 언어의 코드라이브러리 설계와 구현," 디지털산업정보학회, 디지털산업정보학회논문지, 제9권, 제4호, 2013.
  4. 최종명, 박 경우, 오수열, "사용자 인터랙션을 지원하는 HTML5 기반 e-book 뷰어 시스템의 요구사항 분석 및 설계," 디지털산업정보학회, 디지털산업정보학회논문지, 제9권, 제2호, 2013.
  5. 최종명, 최재영, 유재우, "프로그래머를 위한 Java2," 홍릉과학출판사, 2004.
  6. 유석운 외 8명, "NHN은 이렇게 한다! 소프트웨어 품질관리," 위키북스, 2010.
  7. 위드 커닝햄, 릭 머그리지 "Fit, 통합테스트 프레임워크," 인사이트, 2010.