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 PROTECTED]> 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 PROTECTED] 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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
>>
>> This email sent to [EMAIL PROTECTED]
>>
>>  _______________________________________________
> 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/johnthuss%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>
 _______________________________________________
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]

Reply via email to