서지주요정보
Aspect-oriendted programming을 이용한 Testable Object의 작성 = A testable object with aspect-oriendted programming
서명 / 저자 Aspect-oriendted programming을 이용한 Testable Object의 작성 = A testable object with aspect-oriendted programming / 정경복.
발행사항 [대전 : 한국과학기술원, 2003].
Online Access 원문보기 원문인쇄

소장정보

등록번호

8014224

소장위치/청구기호

학술문화관(문화관) 보존서고

MCS 03037

휴대폰 전송

도서상태

이용가능(대출불가)

사유안내

반납예정일

리뷰정보

초록정보

Software systems are now getting huge and complicated. There are many programming problems for which neither procedural nor object-oriented programming technique is sufficient to capture the design of programs clearly. It makes implementations of the design to be tangled, and cross-cutting concepts make difficult to develop and maintain the programs. So we need a new module unit, called Aspect that can express real world. It is the main concept of Aspect-Oriented Programming that makes it possible to clearly express programs involving such Aspects, including appropriate isolation, composition and reuse of the Aspect code. AspectJ is an apsect language specification with Aspect Weaver of Aspect-Oriented Programming in Java. JUnit is a simple testing java framework to write repeatable tests. Unit Testing makes softwares firm. Unit Testing is testing whether units work rightly or not. MockObject is used for virtual and temporary implemetation of inteface. Testing concepts can be seperated from and joined together with tested objects. There are some problems and difficulties in JUnit and MockObject. JUnit can test only public methods. MockObject is always reprogrammed as interface changing. Testing modules and mockobjects are managed seperately. That makes programmers confused and design unclear. We propose AspectJUnit to combine the merits of Aspect-Oriented Programming and JUnit framework. AspectJUnit is well organized Unit Testing Environment. It consists of two parts: class level(JUnit, MockObject) and aspect level(MockObject Generator, Innver Value Testing, Tracing). Extracting Aspects from JUnit and MockObject helps more modularizations. Adding new Aspects to our framework gives more functions. There are some tangled codes in result expressions of user interfaces in JUnit and logic evaluations in MockObject. Those codes can be separted as Aspects. New Aspects such as MockObject Generator, Inner Value Testing and Tracing add new functions to our framework. MockObject Generator can create and maintain mockobjects automatically. Inner Value Testing Aspect shows changed values of arguments in methods. Tracing Aspect shows method calling sequences. All Aspects can control the range of affecting methods. Our framework provides ability to test other than public method : private and protected. Our AspectJUnit is integration of JUnit, MockObject and Aspects above, which offers convenient programming environment.

서지기타정보

서지기타정보
청구기호 {MCS 03037
형태사항 vii, 35 p. : 삽화 ; 26 cm
언어 한국어
일반주기 저자명의 영문표기 : Kyong-Bok Jung
지도교수의 한글표기 : 한태숙
지도교수의 영문표기 : Tai-Sook Han
학위논문 학위논문(석사) - 한국과학기술원 : 전산학전공,
서지주기 참고문헌 : p. 34-35
QR CODE

책소개

전체보기

목차

전체보기

이 주제의 인기대출도서