Unit testing is, according to Wikipedia, a method by which individual units of source code, sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures, are tested to determine whether they are fit for use. Let's see how we can use Gaea , in order to apply unit testing to our code.
First of all, we say that we need the unittest package:
Afterwards, we define our demo function that we want to test:
(defun add-2 (n) (+ n 2...