Fork me on GitHub

Is kaocha loading the test functions under the “user” namespace?


Context: I’m using a macro that looks at the current *ns* to define temp databases etc. When running tests at the repl (using clojure.test) everything works fine. When running through kaocha, it seems like that *ns* is set to user


we're not doing anything with user AFAIK


Yeah sorry, I thought I was going crazy but it was a difference in how ns is bound when you are already inside an ns and evaluate tests vs when you load the tests from outside. I got confused with dynamic vars.