#1
|
|||
|
|||
unit testing in lisp
Hi everybody,
I am investigating the possibility to introduce unit testing in our lisp code for Modeling. After googling around a little, I decided to try lisp-unit which, according to this article, should be a good starting point. When I tried to load the latest release of the lisp-unit framework (v 0.95 as of today) into Modeling I got a lisp error relating to a macro which is not defined (DEFINE-CONDITION). After further investigation, I discovered that this macro was introduced in the 2nd edition of common lisp and that it has not been implemented in HCL (the CL interpreter embedded in Modeling). So I switched to an older version of lisp-unit that did not make use of this macro, and after some small changes I was able to load the library into Modeling and to use it to perform a (very simple) unit test. So I think that this old and "adapted" version of lisp-unit could be an option... or at least a starting point. But before I investigate this option in more detail, I thought I could ask the community if someone is actually using unit testing with Modeling customizations/add-ons... Does anyone have any experience in this area? Did you build your own testing framework from scratch? Did you try any standard test framework? Thank you in advance for any suggestion/idea/comment. Regards, Fabrizio |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|