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-
dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/
wws