Fork me on GitHub
#kaocha
<
2021-07-06
>
apbleonard15:07:05

Hi - is it possible to run Kaocha without expound? We're trying to adopt Kaocha but some of our tests that expect a spec failure (sadly) expect the old form of spec failure messages, and so the assertions fail with the new improved expound failure messages. We'd like to change these incrementally if possible, i.e. adopt Kaocha without changing any tests at all if possible. Any idea on how to achieve this?

apbleonard15:07:01

I wondered about rebinding s/*explain-out* to *`s/explain-printer`* in our code somewhere globally ... but not entirely sure how to sensibly do that such that it would work for REPL sessions, command line invocations of Kaocha etc.... We use lein and midje tests principally.