marick / Midje

Midje provides a migration path from clojure.test to a more flexible, readable, abstract, and gracious style of testing
MIT License
1.69k stars 128 forks source link

`provided` either? #493

Open edenworky opened 6 months ago

edenworky commented 6 months ago

I thoroughly looked through the docs, so this is at the very least missing documentation. I'm trying to achieve e.g.

(fact
    (fizz-or-buzz? ..n..) => true
    (provided (either (fizz? ..n..) (buzz? ..n..)) => true))

Is there any way to achieve this in Midje?