Thanks Rob and Brian!!!

I didn't know that it was possible to use any of those 2 approaches :). I like 
the idea of the spread sheet, I'll investigate that a bit further.


Thanks a lot!!!
Augusto

From: Rob Daykin [mailto:[email protected]]
Sent: 26 April 2012 17:42
To: [email protected]
Subject: Re: [jbehave-user] Database Clean up Strategies

On 26/04/2012 16:14, Augusto Rodriguez Caceres wrote:
I would like to share that I'm not a fan of DBunit, as the XML files are not 
exactly very refactory-friendly (this might have changed in the last few of 
years).
In previous projects, I've found that every time I changed a column, I would 
need to go back to the xml files and do a lot of very boring, repetitive work 
to update them.

never touched an xml file...
Just set the db up as I want it, then run a class to dump the data out:

http://www.dbunit.org/faq.html#extract

Very handy for regression testing when you find an issue with a dataset.

Rob

________________________________
The information contained in this email is strictly confidential and for the 
use of the addressee only, unless otherwise indicated. If you are not the 
intended recipient, please do not read, copy, use or disclose to others this 
message or any attachment. Please also notify the sender by replying to this 
email or by telephone (+44 (0)20 7896 0011) and then delete the email and any 
copies of it. Opinions, conclusions (etc) that do not relate to the official 
business of this company shall be understood as neither given nor endorsed by 
it. IG Group Holdings plc is a company registered in England and Wales under 
number 04677092. VAT registration number 761 2978 07. Registered Office: Cannon 
Bridge House, 25 Dowgate Hill, London EC4R 2YA. Listed on the London Stock 
Exchange. Its subsidiaries IG Markets Limited and IG Index Limited are 
authorised and regulated by the Financial Services Authority (IG Markets 
Limited FSA registration number 195355 and IG Index Limited FSA registration 
number 114059).

Reply via email to