setup test env

This commit is contained in:
paku 2024-02-16 10:44:45 +09:00
parent 2a430e4588
commit 523c6ed582
5 changed files with 20 additions and 1 deletions

9
ningle-fbr-tests.asd Normal file
View file

@ -0,0 +1,9 @@
(defsystem "ningle-fbr-tests"
:author "skyizwhite <paku@skyizwhite.dev>"
:license "MIT"
:class :package-inferred-system
:pathname "tests"
:depends-on ("rove"
"ningle-fbr-tests/main")
:perform (test-op (o c)
(symbol-call :rove '#:run c)))

View file

@ -7,4 +7,5 @@
:license "MIT" :license "MIT"
:class :package-inferred-system :class :package-inferred-system
:pathname "src" :pathname "src"
:depends-on ("ningle-fbr/main")) :depends-on ("ningle-fbr/main")
:in-order-to ((test-op (test-op "ningle-fbr-tests"))))

1
qlfile
View file

@ -1,3 +1,4 @@
ql ningle ql ningle
ql cl-ppcre ql cl-ppcre
ql rove
ql alexandria ql alexandria

View file

@ -10,6 +10,10 @@
(:class qlot/source/ql:source-ql (:class qlot/source/ql:source-ql
:initargs (:%version :latest) :initargs (:%version :latest)
:version "ql-2023-10-21")) :version "ql-2023-10-21"))
("rove" .
(:class qlot/source/ql:source-ql
:initargs (:%version :latest)
:version "ql-2023-10-21"))
("alexandria" . ("alexandria" .
(:class qlot/source/ql:source-ql (:class qlot/source/ql:source-ql
:initargs (:%version :latest) :initargs (:%version :latest)

4
tests/main.lisp Normal file
View file

@ -0,0 +1,4 @@
(defpackage #:ningle-fbr-tests/main
(:use #:cl
#:rove))
(in-package #:ningle-fbr-tests/main)