Skip to content

ArneLimburg/transactionunit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maintained maven central build sonarcloud sonarcloud sonarcloud sonarcloud Liberapay Ko-Fi

TransactionUnit

TransactionUnit is a JUnit-5-Extension that provides advanced rollback-after-test behavior.

Rolling back the transaction after test

Database tests are one of the longest running tests in today's enterprise applications. Database startup and setup usually take a long amount of the time. On the other hand one normally wants to test against the database technology that is used in production. However using one database instance for the complete test suite has a major draw back. Tests are not independent any more and may affect future tests.

TransactionUnit addresses this problem by hooking into JPA, behave like transactions behave, but rolling back all transactions after the test.

About

TransactionUnit is a framework that provides advanced rollback-after-test behavior.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages