Fork me on GitHub
#kaocha
<
2023-06-26
>
Dallas Surewood16:06:59

Hey, I can't seem to get dynamic bindings to work with Kaocha. Here is my config

{:tests [{:id :unit
           :skip-meta [:integration]
           :bindings {kit.guestbook.core-test/*a-var* 123}}
          {:id :integration
           :focus-meta [:integration]}
          {:id :every}]}
I would expect *a-var* to be rebound when running (k/run _:unit_), but it doesn't seem to happen

Dallas Surewood17:06:52

NVM, it seems :bindings is a top level key, and it can't go in the test configs

plexus08:07:06

that is correct