Fork me on GitHub
#off-topic
<
2019-01-10
>
jeroenvandijk08:01:38

Does anyone know of tools that automate the bdd cycle (red/green)? (in clojure preferably, but i'm also interested to see it in other languages)

jeroenvandijk08:01:21

Midje has autotest, but this isn't smart enough to help you focus on what's important (when failing unit tests first, than integration tests etc) and runs unnecessary checks again and also misses other checks

vemv13:01:02

In case you appreciate my input... I've done bdd (as in Rspec, capybara) for some 5 years but always "by hand" (or by intuition), without any strict process. I think (and have seen others say too) that writing the tests strictly first before the code is a tool - a learning tool. Past the learning phase it shouldn't be that necessary Which is why the tool might not exist for clj 🙂

jeroenvandijk14:01:37

Thanks for your response. I think the by hand BDD is too cumbersome (i've been there too), but when automated it could be a game changer I believe

jeroenvandijk14:01:34

I'm working on something like that at the moment. I felt obliged to ask if someone isn't working on it already

vemv14:01:05

I see. Yeah it could be nice as well, best wishes!

jeroenvandijk14:01:11

Thanks! Maybe the BDD part of my question was confusing. I'm looking for smart test runners that help you stay in a flow

👍 5
john11:01:46

interesting article on concurrent memory access and preemption https://www.pvk.ca/Blog/2019/01/09/preemption-is-gc-for-memory-reordering/