Hi Paul, I've fixed a bug [1] and I believe it also solves the problem you have related. Would you mind to try the last build of WOUnit available at the WOCommunity repository [2]?
[1]https://github.com/hprange/wounit/issues/13 [2]http://maven.wocommunity.org/service/local/repositories/snapshots/content/com/wounit/wounit/1.2-SNAPSHOT/wounit-1.2-SNAPSHOT.jar Cheers, Henrique On 19/06/2011, at 20:39, Paul Hoadley wrote: > Hi Henrique, > > On 20/06/2011, at 4:38 AM, Henrique Prange wrote: > >> Let's try something else. Can you add the following code to your test class? > > I've skipped this for now, because... > >> I've added more logs to the MockEditingContext to avoid any doubts in case >> you want to give it another try. The jar is here [1]. >> >> [1]http://dl.dropbox.com/u/9599580/wounit-1.1-debug-2.jar > > Not seeing any debugging logs on the console here either, it just seemed too > suspicious. Turns out there was a copy of wounit-1.0.jar on the classpath > from another framework. Getting rid of that solved the entire problem. > Sorry about the noise. I should have checked this much earlier. @UnderTest > is now working as designed! > > While we're here, though, something that does get a bit tedious is the > requirement that I add the Java folder for any frameworks containing models > referenced by my test class to that class's Run Configuration classpath, as > detailed under the heading "Minor configuration in eclipse" on this page: > > http://wiki.objectstyle.org/confluence/display/WO/Testing-JUnit+and+TestNG > > It makes running individual test classes tedious, and I've now got a couple > of dozen separate run configurations. Does anyone have a workaround for > this, or is this still required? > > > -- > Paul. > > http://logicsquad.net/ > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
