testing

Jakub Holý (HolyJak) 2021-12-16T18:47:04.016200Z

Hi! Is it possible to run a subset of tests in the REPL with fixtures? I tried

(clojure.test/run-all-tests #".*\.(persistence|organization-service|versioning-service).*-test")
which runs the tests but gives a strange error so I suspect it does not run the fixtures.

Jakub Holý (HolyJak) 2021-12-17T08:30:45.018Z

Thank you! So I guess I need to write my own logic to find the namespaces and then use test-all-vars to run them...

mauricio.szabo 2021-12-17T20:10:54.021100Z

Wow, let me add this to my list of "why avoid fixtures in Clojure" 🤣

Marc O'Morain 2021-12-17T00:30:04.017700Z

clojure.test/test-vars will run fixtures (test-var doesn't run fixtures)