This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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.
 
GeeCON Prague 2014
 
subject: Testing database related stuff