fukamachi / prove

Yet another unit testing framework for Common Lisp
218 stars 23 forks source link

:test-file will not work with files beginning with "test-" #46

Open mfiano opened 7 years ago

mfiano commented 7 years ago

asdf:test-system will not work with the following because of the filename starting with "test-":

(asdf:defsystem some.sys.tests
  :depends-on (:some.sys :prove)
  :components ((:test-file "t/test-vector"))
  :defsystem-depends-on (:prove-asdf)
  :perform (asdf:test-op :after (op c)
                         (funcall (intern #.(string :run-test-system) :prove.asdf)
                                  c)))

The following will work:

(asdf:defsystem some.sys.tests
  :depends-on (:some.sys :prove)
  :components ((:test-file "t/hello-vector"))
  :defsystem-depends-on (:prove-asdf)
  :perform (asdf:test-op :after (op c)
                         (funcall (intern #.(string :run-test-system) :prove.asdf)
                                  c)))