• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unit testing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Unit testing
      • From: Chuck Hill <email@hidden>
    • Re: Unit testing
      • From: Christian Pekeler <email@hidden>
References: 
 >Unit testing (From: Miguel Arroz <email@hidden>)
 >Re: Unit testing (From: Christian Pekeler <email@hidden>)

  • Prev by Date: Re: Implementing "google like" search
  • Next by Date: Re: simple form question
  • Previous by thread: Re: Unit testing
  • Next by thread: Re: Unit testing
  • Index(es):
    • Date
    • Thread