Thanks to everyone who replied. After looking at the examples & a night's sleep, this makes sense.
On Mar 18, 12:38 pm, Stuart Sierra <[email protected]> wrote: > On Mar 17, 6:06 pm, Sean <[email protected]> wrote: > > > I'm writing a macro library for myself, and I'm thinking about > > publishing it. Before I do so, I'd like to write & run some unit > > tests for it. I was hoping the crowd could chime in on how they test > > macros. Any links & examples would be great. Thanks! > > Hi Sean, > > You can generally test a macro like any other function -- call it, > then check that the result is what you want. The exact form a macro > expands to is usually an implementation detail, not a behavior. > > -Stuart Sierra --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
