fukamachi / prove

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

ASDF integration with ASDF 3.3.1 (SBCL) #51

Open anticrisis opened 6 years ago

anticrisis commented 6 years ago

I have a project set up with ASDF integration according to these instructions.

I vary from the instructions by using a second .asd file to define a :my-project.dev system, rather than including both defsystem forms in the same file. I'm not sure if this is significant.

Under the current version of SBCL, which bundles 2-year-old ASDF version 3.1.5, everything works as advertised. The command (asdf:test-system :my-project) runs multiple test files I've defined using :test-file within the :my-project.dev system.

However, under SBCL from its current git head, with ASDF version 3.3.1, (asdf:test-system :my-project) runs 0 test files. On the other hand, (prove:run :my-project-test) does run everything. This makes me think the problem is not with SBCL's version, but with some interaction between ASDF 3.3.1 and :prove-asdf.

(My apologies, I can't recall if I manually installed ASDF 3.3.1 or if it's included in SBCL's current development tree.)

Current workaround in case anyone else runs into this is to use (prove:run :my-project.dev) instead of (asdf:test-system :my-project) but I'm not sure if this represents a bug in ASDF, or in :prove-asdf.