1
0
Fork 0
Browse Source

connect fiveAM testing package to main project in .asd file.

This is so you can use asdf:test-system by just calling the
ritherdon-rest project -- making it easier to work with.
unstable
Craig Oates 3 years ago
parent
commit
943a912d96
  1. 25
      ritherdon-rest.asd

25
ritherdon-rest.asd

@ -7,27 +7,24 @@
:license "MIT"
:version "0.0.1"
:serial t
:in-order-to ((test-op (test-op "ritherdon-rest/tests")))
:pathname "src/"
:components ((:file "package")
(:file "ritherdon-rest")))
;; The use of '...rest/tests' was because of a warning when trying to
;; run the code in SLIME.
(asdf:defsystem #:ritherdon-rest/tests
:description "The test suite for the ritherdon-rest project."
:author "craig@craigoates.net"
:license "MIT"
:version "0.0.1"
:serial t
:depends-on (#:fiveam)
:pathname "tests/"
:components ((:file "package")
(:file "ritherdon-rest-tests")))
(asdf:defsystem #:ritherdon-rest/doc
:description "The doc's package for the ritherdon-rest project."
:author "craig@craigoates.net"
:license "MIT"
:version "0.0.1"
:serial t
:pathname "doc/"
:components ((:file "package")
(:file "ritherdon-rest-doc")))
:depends-on (:ritherdon-rest :fiveam)
:perform (test-op (o s)
(uiop:symbol-call :fiveam :run!
'ritherdon-rest-tests:all-tests))
:components ((:module "tests"
:serial t
:components ((:file "package")
(:file "ritherdon-rest-tests")))))