Title :
Interface-Based Object-Oriented Design with Mock Objects
Author :
Nandigam, Jagadeesh ; Gudivada, Venkat N. ; Hamou-Lhadj, Abdelwahab ; Tao, Yonglei
Author_Institution :
Comput. & Inf. Syst., Grand Valley State Univ., Allendale, MI
Abstract :
Interfaces are fundamental in object-oriented systems. One of the principles of reusable object-oriented design, according to Gamma et al., is program to an interface, not an implementation. Interface-based systems display three key characteristics - flexibility, extensibility, and pluggability. Designing with interfaces is therefore a better way of building object-oriented systems. Getting students in introductory software engineering and design courses to program to interfaces and develop interface-based systems is a challenge. This paper presents our experiences with the use of mock objects to promote interface-based design and effective unit testing in software engineering and design courses.
Keywords :
application program interfaces; computer science education; educational courses; object-oriented programming; program testing; interface-based object-oriented design course; mock object; software engineering; unit testing; Buildings; Computer interfaces; Computer languages; Displays; Education; Information technology; Java; Software design; Software engineering; Software testing; composition; interface-based design; interfaces; mock objects; unit testing;
Conference_Titel :
Information Technology: New Generations, 2009. ITNG '09. Sixth International Conference on
Conference_Location :
Las Vegas, NV
Print_ISBN :
978-1-4244-3770-2
Electronic_ISBN :
978-0-7695-3596-8
DOI :
10.1109/ITNG.2009.268