Proper Wonder/App Initialization for testing
Proper Wonder/App Initialization for testing
- Subject: Proper Wonder/App Initialization for testing
- From: Greg Brown <email@hidden>
- Date: Mon, 21 Sep 2009 11:55:55 -0400
Hi,
I converted an app to use Wonder, and I think my tests need do do
something new so that all the Wonder stuff initializes properly.
This page:
http://wiki.objectstyle.org/confluence/display/WONDER/Integrate+Wonder
+Into+an+Existing+Application
has nothing about tests ;>o
Unit type tests seem to run fine without initializing the wonder
frameworks, but database type (dbuinit) tests probably need the
wonder stuff to be properly initialized.
ERXExtensions has a bunch of initApp, initEOF, initialize methods,
which one is generally best for testNG / dbuinit initializations? Or
do I need something like an initApp followed by a initEOF?
How do people handle this? a @BeforeSuite annotation to a method
which calls some er.extensions.ERXExtensions.initFoo()?
Thanks,
gb
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden