0

unit test for ZK+Hibernate

asked 2008-01-31 08:03:07 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4752308

By: kmzk

We are going to do some unit tests for
our web application based on ZK+Hibernate with an emphasis on on backend DAO and business logic.
It seems that the popular unit test tool, JUnit, could not handle this situation due to the nature of hibernate's single thread session management.
Could anybody provide some unit test
methodology for ZK+Hibernate web applications ?
A sample would help a lot. Thanks.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2008-02-05 01:31:58 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4759664

By: waterbottle

Hi,
It doesn't easy to test form client side and verify on client side There are some document talk about how to test ZK application from client side, http://www.zkoss.org/smalltalks/zkGrinder/
http://www.zkoss.org/smalltalks/zkautotest/zkautotest.dsp

About the unit test on ZK, not only for +Hibernate We have a idea to provide a test-able mechanism in server side, but because of short of resource, we have not worked on it yet.
or if you have any idea about the testing, we can discuss on the forum.

/Dennis

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-01-31 08:03:07 +0800

Seen: 155 times

Last updated: Feb 05 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More