Shinmera / parachute

An extensible and cross-compatible testing framework.
https://shinmera.github.io/parachute
zlib License
102 stars 10 forks source link

"The name ORG.SHIRAKUMO.PARACHUTE.5AM::*HOME* does not designate any package." #56

Open defaultxr opened 2 days ago

defaultxr commented 2 days ago

When attempting to switch to Parachute from FiveAM using parachute-fiveam , I replaced #:fiveam in my asdf:defsystem :depends-on with #:parachute-fiveam, but I get this error:

; file: /home/modula/misc/lisp/cl-patterns/t/test.lisp
; in: DEF-SUITE CL-PATTERNS-TESTS
;     (ORG.SHIRAKUMO.PARACHUTE.5AM:DEF-SUITE CL-PATTERNS/TESTS::CL-PATTERNS-TESTS
;                                            :DESCRIPTION
;                                            "cl-patterns tests suite.")
; ==>
;   (PARACHUTE:DEFINE-TEST CL-PATTERNS/TESTS::CL-PATTERNS-TESTS
;     :HOME
;     ORG.SHIRAKUMO.PARACHUTE.5AM::*HOME*
;     :DESCRIPTION
;     "cl-patterns tests suite."
;     :PARENT
;     NIL)
; 
; caught ERROR:
;   (during macroexpansion of (PARACHUTE:DEFINE-TEST CL-PATTERNS-TESTS
;     ...))
;   The name ORG.SHIRAKUMO.PARACHUTE.5AM::*HOME* does not designate any package.

The first file in my test suite, test.lisp, starts off like this:

(uiop:define-package #:cl-patterns/tests
  (:mix #:cl
        #:cl-patterns
        #:alexandria
        #:mutility
        #:fiveam))

(in-package #:cl-patterns/tests)

(def-suite cl-patterns-tests
  :description "cl-patterns tests suite.")

(in-suite cl-patterns-tests)

After that, I just have a few macros and a few def-fixture forms, and a few test forms.

Is there something else I need to do in my case to get the FiveAM compatibility layer working? Let me know if you need any more info from me. If you want to take a look, the library in question has its repo/source here.

Shinmera commented 2 days ago

Thanks for the report. I'll take a look at it tomorrow.