Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Looking Glass: a C++ library for testing student programs through reflection
Turner S.  SIGCSE 2015 (Proceedings of the 46th ACM Technical Symposium on Computer Science Education, Kansas City, MO, Mar 4-7, 2015)528-533.2015.Type:Proceedings
Date Reviewed: May 4 2016

Computer-assisted evaluation of computer code is a work in progress. This paper on a library that tests students’ C++ programs shows both the progress made and the work remaining. The paper substantiates the benefit that students would derive from computer-assisted assessment, describes a solution, outlines its limitations, and suggests future work.

It opens with an overview of the problems associated with evaluating student submissions in C++: opaqueness of error messages and difficulty compiling student code against instructor code. To supplement this analysis, the author presents the results of an empirical study that indicates that students would benefit from a better handling of these problems. He also sets a goal for computer-aided assessment: the graceful handling of the mismatch between student and instructor code.

The proposed solution, Looking Glass, is a C++ library that uses reflection--determining at runtime what classes, methods, and variables are in the program and gaining access to their values--implemented through an open-source library. It is powerful enough to examine nearly all structures in C++. Unions and templates are notable exceptions. All of its functionality is transparent to the student, but there is some overhead for the instructor.

The empirical study indicates that it achieved the primary goal of reflecting the code most frequently used in introductory and intermediate courses in C++, but it only partially met the secondary goal of providing streamlined syntax and ease of setup. The paper ends by suggesting future work such as improving integration with other tools.

Reviewer:  Marlin Thomas Review #: CR144383 (1607-0515)
Bookmark and Share
  Featured Reviewer  
 
Testing Tools (D.2.5 ... )
 
 
C++ (D.3.2 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Testing Tools": Date
Automatic generation of random self-checking test cases
Bird D., Munoz C. IBM Systems Journal 22(3): 229-245, 1983. Type: Article
Aug 1 1985
Program testing by specification mutation
Budd T., Gopal A. Information Systems 10(1): 63-73, 1985. Type: Article
Feb 1 1986
SEES--a software testing environment support system
Roussopoulos N., Yeh R. (ed) IEEE Transactions on Software Engineering SE-11(4): 355-366, 1985. Type: Article
Apr 1 1986
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy