Lisp Programming with Cusp - Big Projects

Advanced Navigation Features

There are several features in Cusp that help in working with big Lisp projects.

Then a section can be folded in the editor and you can quickly navigate between sections using Outline:


Adding Files to the Project

To add another file to the project you have two options:

This opens dialog box, where you can select name of new file. Hitting Finish will create new file. Then you need to do two more things:

Testing

Cusp now comes with integrated testing facility. It is just an interface to lisp-unit. The 'lisp-unit' package is loaded on Lisp startup (customizable in properties). You can use it as described on its webpage. However Cusp provides convinience interface to it.

You can test this interface by creating new lisp project with default settings (in this case example test and function are created). Once project is loaded just click on 'Run tests':



This brings dialog which shows all loaded packages that have tests defined in them:


Select package that you want to test and click OK. Tests will be run and the results will be displayed in Test view:




Back to table of contents