DbUnit is a JUnit extension for testing with databases. It puts your database into a known state before each test runs (preventing cascading failures from shared database corruption), verifies table correctness after a test runs, and restores the database tables in prep for the next test.
Founded in 2002 on SourceForge, in May of 2026, dbUnit completed moving to GitHub.com. While dbUnit’s first home for 24 years was SourceForge, dbUnit moved through multiple external CI systems for the pipeline build verification. With the success at GitHub for over a year due to its well-done CI system, the entire project moved to GitHub, including the issues.