• 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: "John Huss" <email@hidden>
  • Date: Fri, 13 Jun 2008 12:22:27 -0700

Did you try WOUnitTest2?  It works pretty well, but doesn't actually use the DB. 

Also, you can use ERXMemoryAdaptor in Wonder to mimic DB access without actually having a DB.

John

On Fri, Jun 13, 2008 at 5:17 AM, Henrique Prange <email@hidden> wrote:
Hi,

You can use DbUnit [1]. Chuck and Sacha described how to use this tool with EOF on 1st chapter of Practical WebObjects book [2].

Anyway, which problems have you been facing with wounittest?

[1]http://www.dbunit.org/
[2]http://www.amazon.com/Practical-WebObjects-Charles-Hill/dp/1590592964

Cheers,

Henrique


email@hidden wrote:
Moin list,

A simple and stupid question :
I'd like to take advantage of maven and hudson by generating metrics on my
project.
A this time, we don't write unit tests.
What is the best solution for unit testing WOApps? I already had a quick look at
wounitest but I don't think it will fit our needs.
Is it possible to instanciate a EOEditingContext within a Junit test ?
How could I achieve to do this ?

Thanks for your answer
 _______________________________________________
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

_______________________________________________
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

 _______________________________________________
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

References: 
 >Unit testing (From: email@hidden)
 >Re: Unit testing (From: Henrique Prange <email@hidden>)

  • Prev by Date: Re: ERJavamail bug ?? - [SOLVED]
  • Next by Date: Using a EO NSData Attribute in an HTML element's style
  • Previous by thread: Re: Unit testing
  • Next by thread: Re: Unit testing
  • Index(es):
    • Date
    • Thread