aspose file tools*
The moose likes Testing and the fly likes Testing database related stuff Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Testing database related stuff" Watch "Testing database related stuff" New topic
Author

Testing database related stuff

Walter Bernstein
Ranch Hand

Joined: Dec 19, 2007
Posts: 57
Hi there,

is there something in the book about testing database related stuff? To create/remove a fixture in the database is very tedious.

Walter
Hani Suleiman
author
Greenhorn

Joined: Nov 18, 2007
Posts: 22
Hi Walter,

Have you had a look at dbunit? It does help a bit in terms of database related testing, and makes things like populating data somewhat less painful than it could be.

The book does cover dbunit integration with TestNG.
Walter Bernstein
Ranch Hand

Joined: Dec 19, 2007
Posts: 57
Originally posted by Hani Suleiman:
The book does cover dbunit integration with TestNG.

Sounds good. Now, that I didn't win a book I ordered a copy at amazon.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Testing database related stuff
 
Similar Threads
Article about Testing Email Components
Database connection for testing databse and the application
Track User Activity
Will my session attributes travel to the front end
Connecting web application form with simple mysql command