Hi Thomas, If you're testing the persistence layer then you need a running database and hence integration/functional tests. If you're testing something else then you can mock the XWikiStorage interface (or whatever its name is). What do you want to test specifically? Thanks -Vincent On Aug 23, 2007, at 11:28 AM, Thomas Mortagne wrote:
Hello all,
I have some features for which I need to write unit tests but it imply HQL request difficult to cleanly emulate with jmock. Is there an over way to tests theses ? Ludovic talk to me about integrations tests that use the complete platform with real database but he was not sure of this so I ask :)
Regards
-- Thomas Mortagne
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws