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:[EMAIL PROTECTED] 
Sent: Wednesday, 11 June 2003 11:31 a.m.
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to