• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is DBUnit an in-memory database?

 
NareshAnkuskani Kumar
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
NareshAnkuskani Kumar
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic