Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

9. DBUnit

Sumit Rawal answered on May 14, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


9. DBUnit

0

A database is an integral part of many Java applications, both Core Java, and Web application, and probably the biggest obstacle while doing unit testing.

It's not reliable to connect to Dev or UAT database for integration tests because anyone can change the data and schema like tables, stored procedures and it will cause your automated integration test to fail.

DbUnit is a JUnit extension that can be used to initialize the database into a known state before each integration test and ensure that the database contains the correct data.

DbUnit has its own issues, but it is a very useful tool because it helps us to separate the test data creation from the tested code.

Read more: https://javarevisited.blogspot.com/2018/01/10-unit-testing-and-integration-tools-for-java-programmers.html#ixzz81f6QO2Zv

Popularity 1/10 Helpfulness 1/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on May 14 2023
Sumit Rawal
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.