Fork me on GitHub
Jakub Holý (HolyJak)18:12:04

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.

Marc O'Morain00:12:04

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

Jakub Holý (HolyJak)08:12:45

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...


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