Re: defining tests for an api to be called by the implementations

2011-08-16 Thread Kevin Livingston
actually this isn't as bad as I thought. things work more or less as expected, I can blocke the tests with the test-ns-hook and run them in other namespaces as expected... the reason things ran in my repl but would not compile outside is that there were some missing test dependencies that were in

Re: defining tests for an api to be called by the implementations

2011-08-15 Thread Alan Malloy
On Aug 15, 10:16 pm, Kevin Livingston wrote: > I am working on an api that has an interface and two distinct > implementations lets call them: foo and bar. > > I have a testing routine with a bunch of functions that each call a > function to get a clean instance of an implementation, initializes i

defining tests for an api to be called by the implementations

2011-08-15 Thread Kevin Livingston
I am working on an api that has an interface and two distinct implementations lets call them: foo and bar. I have a testing routine with a bunch of functions that each call a function to get a clean instance of an implementation, initializes it with some data and then interrogate it. with the exc