hi, Basically I'm interested in testing struts actions (forwards, messages etc). Most of the actions perform some actions on my database which I'd like to speed up. My idea is to isolate database tests from struts action test. There is only one way to achieve it which I see at the moment (mock objects). If I substitute my persistence layer in tests on mocks not only tests will run faster but I'll not have to prepopulate database for each test (even in memory datatabase needs some configuration prior to tests). Unfortunately except idea I've nothing. I've no idea on how to achieve it. Any idea or sample code ? I think the problem is not open and many of you've solved it in one way or another
**************************************************************************************** Note: If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ****************************************************************************************