On 8/20/07, Derek Broughton <[EMAIL PROTECTED]> wrote:
> 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
>

Maybe it's possible to have Zero Configuration in a testing scenario -
we'll see what the Struts User list has to say:

http://www.nabble.com/Is-it-possible-to-use-Zero-Configuration-in-a-JUnit-Test--tf4302186.html

http://tinyurl.com/2voz29

Matt

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

Reply via email to