From 5f1903b741b79aff058abf4f3c879d81a29c14b8 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Sun, 23 Jun 2024 12:58:01 -0500 Subject: [PATCH] Add comprehensive testing package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … actually, this should’ve been committed a few commits back. I guess I forgot to add the file! Well, no need to edit git history just for that. --- t/t.lisp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 t/t.lisp diff --git a/t/t.lisp b/t/t.lisp new file mode 100644 index 0000000..bd22108 --- /dev/null +++ b/t/t.lisp @@ -0,0 +1,33 @@ +;;;; activity-servist/tests: Testing all of activity-servist. + +;; Copyright © 2024 Jaidyn Levesque +;; +;; This program is free software: you can redistribute it and/or +;; modify it under the terms of the GNU Affero General Public License +;; as published by the Free Software Foundation, either version 3 of +;; the License, or (at your option) any later version. +;; +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU Affero General Public License for more details. +;; +;; You should have received a copy of the GNU Affero General Public License +;; along with this program. If not, see . + +(defpackage :activity-servist/tests + (:use :cl) + (:nicknames "AS/T") + (:export :run :run-with-summary)) + +(in-package :activity-servist/tests) + +(defun run () + "Run tests from all activity-servist subpackages." + (activity-servist/tests/signatures:run) + (activity-servist/tests/activity-vocabulary:run)) + +(defun run-with-summary () + "Run tests with summary for all activity-servist subpackages." + (lisp-unit2:with-summary() + (run)))