Re: [TFUI] What's wrong with Struts?
"Phlip" <[email protected]> Mon, 19 Sep 2005 06:55:50 -0700
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <006f01c5bd21$dc217dc0$0100a8c0@Marley> |
Dave Rooney wrote:
> Craig McClanahan doesn't seem to get the concept of interfaces.
Ouch. Under static typing they make Mock Objects tractable.
> ... We try to move as much
> functionality out of the Actions into simple helper classes. Also, we
> found that there isn't an easy way to represent the view in a form
> that's testable.
>
> There is StrutsTestCase, but we couldn't use it, and the reason why
> escapes me for the moment.
Repressed?
Technically, I can't figure out if it will mock the server, or will serve
the pages and intercept them with HttpUnit. And while trying to learn that,
I'm stuck in a Vicious Cycle of Incomprehensible Error Messages from any of
the several layers involved. Expensive setup is a design smell.
Humble Dialog Box to the rescue!
> If you aren't doing TDD, then Struts is a great way to get a web
> application started and running. However, it really doesn't lend itself
> to TDD or even unit testing very well. IME, at least.
There are those who think libraries that resist TDD will not survive our
little revolution in their current form.
--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!!
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/TestFirstUserInterfaces/
<*> To unsubscribe from this group, send an email to:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/