On Jan 19, 6:44 pm, Stuart Sierra <the.stuart.sie...@gmail.com> wrote:
> > 1. I don't like the idea of putting tests next to the functions
> > they're testing.
>
> That's cool with me, I won't force you to do it one way or the other.

And here I was ready to start a holy crusade against you ;)

Honestly, it's cool with me too. I just figured it was worth
mentioning an alternative viewpoint.

> I think that's how the earliest implementations of behavior-driven
> development in Java worked -- they used descriptive method names.
> Sure, it's not as pretty, but it works.

I like pretty enough that this matters to me, but to each their own.

> > 3. The biggest problem I've had with tests is generating test data.
>
> Can't help you there, it least not right now. I'm open to suggestions.

I was planning on creating a function to generate random strings out
of a regular expression, though I'll first need to write a good
parsing library first. I think my current focus, at least in the realm
of testing, is to create functions for generating random test data.

- James
--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to