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)
(defpackage :ritherdon-archive-tests
(:use :common-lisp
:fiveam
:parachute
:ritherdon-archive))

22
tests/test-ritherdon-archive.lisp

@ -1,12 +1,16 @@
(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
:description "test suite 1")
(in-suite testmain)
(test test1
(is (= (+ 1 1)
3)))
;; This was an example taken from the doc's for parachute. I'm going to keep it
;; here as a reference until I get comfortable with parachute.
(define-test reference-tests
(of-type integer 5)
(true (numberp 2/3))
(false (numberp :keyword))
(is-values (values 0 "1")
(= 0)
(equal "1")))

Loading…
Cancel
Save