Matt Raible wrote:

> On 8/20/07, Derek Broughton <[EMAIL PROTECTED]>
>>
>> I really think that if autowiring doesn't work with the example, "zero
>> configuration" shouldn't even be mentioned on that page; it's just
>> misleading.
> 
> Autowiring doesn't work when doing tests, but it does at runtime, no?

Sure, but that distinction isn't shown on the page - right after:
"Run the PersonActionTest ..." 
you explain how zero configuration avoids the need to manually create the
bean.

>> I've never been a big fan of this sort of testing scenario, and you
>> haven't made a convert of me yet :-)
> 
> It might just be the verbage in the tutorial. If you have suggestions
> for making things clearer - we'd love to hear it.

I did - I really don't think the commentary about zero configuration belongs
on that page.  If it's kept, there at least needs to be a clear explanation
that you can't both have the test and the zero configuration 
-- 
derek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to