Re: Unit testing
Re: Unit testing
- Subject: Re: Unit testing
- From: Sam Barnum <email@hidden>
- Date: Mon, 7 Nov 2005 07:52:12 -0800
Slightly different topic, but how do you write tests at the component
level? My WOComponent classes need a WOContext in the constructor.
And there needs to be a running applicaiton, or else you run into
NullPointerExceptions.
I can fake a WOContext by manually creating a WORequest with the HTTP/
1.1 and URL parameters, but am running into problems creating a dummy
application. Does anyone have a quick guideline for doing this?
-Sam
On Nov 3, 2005, at 11:59 AM, Christian Pekeler wrote:
I'm studying how to add unit tests to an WebObjects application.
I would like to use xCode (i hate eclipse).
I highly recommend you take another look at Eclipse (or IntelliJ if
you can afford it). Xcode might be a good IDE for C based projects,
but for Java projects you can dramatically increase your
productivity by using a specialized IDE.
Two questions:
- Does WOUnitTest (http://wounittest.sourceforge.net/) still works?
Sure.
I see it's not updated since 3/2004...
What new features would you like to see?
Christian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40prometheus-systems.com
This email sent to email@hidden
_______________________________________________
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