An open API service indexing awesome lists of open source software.

https://github.com/raeperd/avoid-transactional-in-test

You should avoid `@Transactional` in test. This repo proves that.
https://github.com/raeperd/avoid-transactional-in-test

h2-database kotlin spring-data-jpa springboot

Last synced: about 1 month ago
JSON representation

You should avoid `@Transactional` in test. This repo proves that.

Awesome Lists containing this project

README

          

# Avoid `@Transactional` in test
This repository is executable sample repository from article [How To Clean Up Database Tables After Each Integration Test](https://raeperd.github.io/articles/how-to-clean-up-database-tables-after-each-integration-test/)

## Referenced
- [Don’t Use @Transactional in Tests - DEV Community](https://dev.to/henrykeys/don-t-use-transactional-in-tests-40eb)
- [(2) How To Clean Your Database Between JUnit 5 Tests With Spring Boot - YouTube](https://www.youtube.com/watch?v=lfHG9qnSvpQ)
- [Cleaning up database tables after each integration test method with Spring Boot 2 and Kotlin | by Sébastien Dubois. | Medium](https://dsebastien.medium.com/cleaning-up-database-tables-after-each-integration-test-method-with-spring-boot-2-and-kotlin-7279abcdd5cc)
- [Eradicating Non-Determinism in Tests](https://martinfowler.com/articles/nonDeterminism.html)
- [Test case is not represents real applications transaction scope · Issue #33 · raeperd/realworld-springboot-kotlin](https://github.com/raeperd/realworld-springboot-kotlin/issues/33)
- [raeperd/avoid-transactional-in-test: You should avoid @Transactional in test. This repo proves that.](https://github.com/raeperd/avoid-transactional-in-test)