Re: WOUnit 1.1: @UnderTest annotation
Re: WOUnit 1.1: @UnderTest annotation
- Subject: Re: WOUnit 1.1: @UnderTest annotation
- From: Paul Hoadley <email@hidden>
- Date: Mon, 20 Jun 2011 09:09:14 +0930
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden