lazytest 2025-02-06

Is it possible to use Lazytest with Leiningen? There are hints that it should in the readme. I want to convert my projects to deps.edn, but more than that I want to write better tests! 🙂

I know I shouldn't have asked a yes/no question! 😅 How can I use Lazytest with Leiningen? It would be nice to have lein test run Lazytest instead of the built-in thing.

[io.github.noahtheduke/lazytest "1.5.0"] in your dev dependencies

and then (sorry, on my phone)

:aliases {"test" ["run" "-m" "lazytest.main"]})

i thought i had this in the readme, so i'll add it

Thanks, works beautifully! Now, is there a way for Lazytest to "discover" legacy tests that are written with clojure.test? Or what is the recommended upgrade path for moving an existing codebase off of clojure.test?

lazytest cannot use and does not interact with clojure.test tests. you can either run both one after the other (from the terminal or in a make shift runner clojure file), while you migrate.

Ah, Sean Corfield to the rescue once again! Thanks, I'm off to the races with your advice now.

👍 1
👍🏻 1