It is not that failing tests are an acceptable part of the suite, but we do 
recognize that sometimes, some tests fail in a constantly changing web-app. Our 
continuous integration build is run every night and a dbUnit task causing the 
entire ant build to fail causes a lot more havoc then 1 failed webtest inside a 
suite of hundreds.

The only way I have so far implemented dbUnit is by adding the jars to the /lib 
folder and adding the taskdef in the webtest runner files.

If there is another, easier (or better integrated) way to use dbUnit I'm all 
ears but so far I can't seem to get around this method and hence posed the 
question of integrating dbUnit into a webtest step or, how I could cause the 
build not to fail and stop entirely on a dbUnit task.

Hope that explains everything and that maybe somebody has an idea or the list 
can brainstorm one out.

Thanks in advance,

Mike

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Habbert
Sent: Wednesday, June 06, 2007 2:16 AM
To: [email protected]
Subject: Re: [Webtest] dbUnit Integration/Failure

Hi Michael,


Goldberger, Michael wrote:
> Hi all,
> 
>  
> 
> We have been attempting to integrate dbUnit into our test framework and 
> I have run across a problem. The task itself runs fine (normally), 
> however when the dbUnit step fails inside a webtest, the entire ant 
> build fails. We also use cruisecontrol for continuous integration builds 
> every night and having a build fail completely due to one step inside 
> one test (quite a large suite) is completely unacceptable for our purposes.
> 
>  
> 
> My question to all then is, is there any way to more closely integrate 
> dbUnit into WebTest or any way to force the build to continue upon a 
> dbUnit step failing?
[...]
The question for me is: how do you integrate dbunit into your webtests?
Recently we did a little - first step - integration of dbunit but outsite the 
webtest-task.

btw. why is your dbunit-task failing, sometimes?
What do you want to achieve with this db-unit-task if failing is acceptable?

-- 
Mit freundlichen Grüßen

Michael Habbert

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
The information contained in this email and document(s) attached
are for the exclusive use of the addressee and may contain
confidential information. If the recipient of this e-mail is not
the addressee, such recipient is strictly prohibited from reading,
photocopying, distributing or otherwise using this e-mail or its
content in any way.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to