Browse Source

switch Fiveam to parachute (testing framework).

There is no immediate or obvious reason for the change. I just prefer
to work with parachute.
stable
Craig Oates 2 years ago
parent
commit
c5ba5b1e4b
  1. 2
      tests/packages.lisp
  2. 22
      tests/test-ritherdon-archive.lisp

2
tests/packages.lisp

@ -1,7 +1,7 @@
(in-package :asdf-user) (in-package :asdf-user)
(defpackage :ritherdon-archive-tests (defpackage :ritherdon-archive-tests
(:use :common-lisp (:use :common-lisp
:fiveam :parachute
:ritherdon-archive)) :ritherdon-archive))

22
tests/test-ritherdon-archive.lisp

@ -1,12 +1,16 @@
(in-package :ritherdon-archive-tests) (in-package :ritherdon-archive-tests)
;; Define your project tests here... #| parachute: https://shinmera.github.io/parachute/
================================================================================
Use the URL to access the documentation for parachute.
|#
(def-suite testmain ;; This was an example taken from the doc's for parachute. I'm going to keep it
:description "test suite 1") ;; here as a reference until I get comfortable with parachute.
(define-test reference-tests
(in-suite testmain) (of-type integer 5)
(true (numberp 2/3))
(test test1 (false (numberp :keyword))
(is (= (+ 1 1) (is-values (values 0 "1")
3))) (= 0)
(equal "1")))

Loading…
Cancel
Save