CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 03-17-2014, 03:49 AM
fabrizio fabrizio is offline
Registered User
 
Join Date: Jan 2003
Location: Parma - Italy
Posts: 34
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:02 PM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.