"Brekke, Jeff" wrote:
>
> > I would find having code that runs the same type of test cases both
> > localized to the test package and scattered throughout the source tree
> > extremely confusing. It's a lot clearer to have the test
> > cases with the
> > source code and the test suites and abstract test cases
> > localize to the
> > test package.
>
> That's true. I was assuming that the testing of package scoped methods
> would be in the minority and the majority of the tests would be the public
> interface of classes. You are correct, I guess it will take some getting
> used to, starting to come around though ;)
Good to hear! The problem with only testing the public interface is
that you often can't get the right test case granularity (i.e. you're
testing too big a piece at once and it's hard to tell what's broken if
the test fails).
--
Daniel Rall <[EMAIL PROTECTED]>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]