-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi, really enjoying boot-check, thanks! Yagni is giving me some trouble though. It's failing because of my test functions, which will of course lack any references.
It seems that I can get Yagni to accept these test functions by adding them to its entry-points option. This works, but it doesn't seem too nice: as my repository grows, I'll have many tests and this entry-points list will become quite large.
I have tried
(deftask yagni []
(set-env! :source-paths #{"src"})
(tolitius.boot-check/with-yagni "-t" :options {:entry-points ["my.package/-main"]}))I thought that would work, since my test files are in test/ not src/.
Unfortunately it made no difference: Yagni still reported the tests unreferenced and threw an error.
Would appreciate any advice to resolve this situation. Thanks so much.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels