struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peng Zhao <pz...@cs.ubc.ca>
Subject RE: unit test in presentation layer
Date Tue, 10 Jun 2003 23:55:23 GMT
What is the meaning of workflow layer? Is it the so called "business
Facade" between presentation layer and business layer.

Thanks!

On Wed, 11 Jun 2003, Shane Mingins wrote:

> I cannot provide detailed suggestions but I was discussing this sort of
> issue with Bryan Dollery last night
>
> <About Bryan
> http://www.devx.com/Java/Article/9305/0
> http://www.greenpulse.com/gpl.html
> />
>
> He suggested that the action classes would not directly talk to the business
> layer but there would be a workflow layer.  Therefore the unit tests could
> test the workflow components.
>
> If you also just wish to test HTML forms:
> http://webtest.canoo.com/webtest/manual/whitepaper.html#6
>
>
> I am not sure if that helps you at all?
>
> Cheers
> Shane
>
>
>
> -----Original Message-----
> From: Peng Zhao [mailto:pzhao@cs.ubc.ca]
> Sent: Wednesday, 11 June 2003 11:31 a.m.
> To: struts-user@jakarta.apache.org
> Subject: unit test in presentation layer
>
> As the presentation layer developer, I found it is difficult to do unit
> test. The action classes in this layer call the methods of business layer,
> which return the interface of data from the persistence layer. In order to
> do unit test in presentation layer, I have to duplicate the work of other
> layers. Could anyone give me some suggestions?
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message