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 129 forks source link

Avoid code generation in counters code #411

Closed philomates closed 7 years ago

philomates commented 7 years ago

Expand by hand a macro that was only called once at the top-level of a namespace.

This is helpful for future development because the macro defines various functions dynamically, so if you are trying to find the definition of output-counters:midje-failures, output-counters:inc:midje-passes!, etc, you can now grep the code instead of having to understand the fairly-complex macro