>
Fa   |   Ar   |   En
   Systematic Unit Testing in a Read-eval-print Loop  
   
نویسنده Nørmark Kurt
منبع journal of universal computer science - 2010 - دوره : 16 - شماره : 2 - صفحه:296 -314
چکیده    Lisp programmers constantly carry out experiments in a read-eval-print loop. the experimental activities convince the lisp programmers that new or modified pieces of programs work as expected. but the experiments typically do not represent systematic and comprehensive unit testing efforts. rather, the experiments are quick and dirty one shot validations which do not add lasting value to the software, which is being developed. in this paper we propose a tool that is able to collect, organize, and re-validate test cases, which are entered as expressions in a read-eval-print loop. the process of collecting the expressions and their results imposes only little extra work on the programmer. the use of the tool provides for creation of test repositories, and it is intended to catalyze a much more systematic approach to unit testing in a read-evalprint loop. in the paper we also discuss how to use a test repository for other purposes than testing. as a concrete contribution we show how to use test cases as examples in library interface documentation. it is hypothesized--but not yet validated--that the tool will motivate the lisp programmer to take the transition from casual testing to systematic testing.
کلیدواژه Emacs ,interactive unit testing ,program examples ,scheme programming
آدرس Aalborg University, Department of Computer Science, Denmark
پست الکترونیکی normark@cs.aau.dk
 
     
   
Authors
  
 
 

Copyright 2023
Islamic World Science Citation Center
All Rights Reserved