I think HttpUnit may be your best bet. There should be some example
HttpUnit tests that ship with the petstore sample located in:

 <beehive-dist>/samples/petstoreWeb/test-src/

There is an archived email with explanation about of using the
MockPageFlowTestCase class based on StrutsTestCase for JUnit...
http://mail-archives.apache.org/mod_mbox/beehive-user/200505.mbox/[EMAIL 
PROTECTED]

You can also look at the original JIRA issue to support StrutsTestCase
and container-less "mock objects" testing...
http://issues.apache.org/jira/browse/BEEHIVE-615
https://svn.apache.org/repos/asf/beehive/trunk/netui/test/src/junitTests/org/apache/beehive/netui/test/pageflow/MockPageFlowTestCase.java

There's an open JIRA issue for a new feature to provide support for
in-container and out-of-container testing. See
http://issues.apache.org/jira/browse/BEEHIVE-982

...open for some contributions.

Kind regards,
Carlin

On 12/26/06, NandaKishore Vadugu <[EMAIL PROTECTED]> wrote:
Hi

This is Nanda Kishore. I am working on the page flow components integrated
with the Weblogic Portal 9.2.

Please help me in regard with the testing of the PageFlow Components.

Specifically how can we test the Controller.java Component or the
components(java class) that extends PageFlow Controller.
Can we test using Junit or any of the xUnit Architecture.

Thanking you in Anticipation


Best Regards,

Nanda Kishore
Computer Sciences Corporation (CSC) India Pvt. Ltd.
Mind Space IT Park,Madhapur,
HITEC City, Hyderabad - 500081
Office Tel: +91 40 39803100 ext- 4817
Mobile : +91 (0) 9985410050
[EMAIL PROTECTED]
www.csc.com


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Reply via email to