Thanks Stuart! It will certainly make writing tests more enjoyable :-)
Inspiration for :equal-pairs/each= came from the test framework I wrote for newLISP: http://newlisp-on-noodles.org/wiki/index.php/Function_Testing Tests there are written as each= with 2 exceptions: '->' evaluates the next expression without testing it 'err' works as 'throws' Function 'test-fn' evaluates tests and returns the list of results. Function 'print-test-fn' can take these results and just print them out. Feel free to get inspired from it. If you see something nice, we can use it. Frantisek PS: newLISP is changing fast. Test framework was written for older version so many things might not work at this moment. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---