cursive
cursive copied to clipboard
Add clojure.test/testing Macros to Code Structure and Allow Folding
For example on tests for Ring handlers, I have one deftest for each handler with many clojure.test/testing macros, one for each combination of inputs/outputs of the Ring handler. The most excessive example is the transaction handler of Blaze.
It would be really helpful if I could see each testing macro with its description in the structure panel and if I could fold the code. The alternative would be to use more than one deftest, but I like the possibility to have a string with the description of the testing aspect instead on only symbols needed for a deftest.