Shinmera / parachute

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

Better test discovery for repl #2

Closed fstamour closed 5 years ago

fstamour commented 6 years ago

Hello, I was digging up a project of mine that I hadn't worked on it for 6 months. At one point I wanted to get at list of all the tests in a package, in the repl. I saw that I could use parachute:*test-indexes* to get what I want.

Do you think it would be a good idea to add 1-2 exported function to list tests, to cover the use case (for the time being, I'll just use grep)?

(completely unrelated: nice drawings and my god you upload so many nice lisp projects, keep it up!)

Shinmera commented 6 years ago

The function package-tests will list all tests of a package.

Thanks for the compliments, and I'm glad to hear that you're making use of my work!

fstamour commented 6 years ago

Thanks, I'm not sure how I missed it.

Is there anything to list the packages that has tests? (i.e. the keys of parachute::*test-indexes*)

Shinmera commented 5 years ago

Now there is

fstamour commented 5 years ago

Thanks