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

Is DBUnit an in-memory database?

NareshAnkuskani Kumar
Ranch Hand

Joined: Sep 15, 2005
Posts: 76
I am new to DBUnit library, please clarify me regarding the below statements at the earliest:

According to my knowledge dbunit is mainly used in setting up the proper test data in the database, before execution of a particular test case/suite.

My Question: Is DBUnit an in-memory database (or) can we setup DBunit as an in memory database?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42602
    
  65
No and no. DBUnit is a test harness for setting up a database to contain particular items of data. It needs a DB to work with. If you want in-memory, you can use HSQLDB as the DB.


Ping & DNS - my free Android networking tools app
NareshAnkuskani Kumar
Ranch Hand

Joined: Sep 15, 2005
Posts: 76
Thanks for the reply
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is DBUnit an in-memory database?