From f83054b7521076a9ac54dea5a85179177ce9f2b3 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 30 Apr 2024 06:49:02 -0500 Subject: [PATCH] basics of testing framework --- shell.nix | 2 ++ src/main.lisp | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/shell.nix b/shell.nix index 3b7793c..05dfc49 100644 --- a/shell.nix +++ b/shell.nix @@ -12,6 +12,8 @@ let cl-smtp log4cl cl_plus_ssl + fiveam + slite pkgs.openssl pkgs.openssl.out pkgs.openssl.dev diff --git a/src/main.lisp b/src/main.lisp index 63b847d..d005547 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -7,6 +7,7 @@ (asdf:load-system 'lass) (asdf:load-system 'cl-smtp) (asdf:load-system 'log4cl) +(asdf:load-system 'fiveam) (defpackage tfcserver (:use :cl :com.inuoe.jzon :spinneret :serapeum)) @@ -539,3 +540,6 @@ with the image attached" (hunchentoot:stop *server*) (uiop:quit))) (error (c) (format t "Woops, an unknown error occured:~&~a~&" c)))) + +(fiveam:test testing-things + (fiveam:is (= 2 (+ 1 1))))