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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 39537
    
  27
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 - updated with new look and Ping home screen widget
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?
 
Similar Threads
Transactional problems in accessing data using spring mock, dbunit and HSQL
DbUnit + memory HSQLDB
Transactional problems in accessing data using spring mock, dbunit and HSQL
How to pause DBUnit to examine database with Squirrel?
Transactional problems in accessing data using spring mock, dbunit and HSQL