Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to disable transaction management in DBIntegrationSpec and AppIntegrationSpec #1251

Closed
eugeneRover opened this issue Dec 7, 2022 · 1 comment

Comments

@eugeneRover
Copy link

DBIntegrationSpec has no possibility to disable transaction management for individual tests.
The only thing that affects the transaction management is rollback configuration option. Unfortunately the option is static therefore it changes behavior for all tests, which is definitely unacceptable (IMO it's mostly unusable).

It would be great if DBIntegrationSpec (and AppIntegrationSpec) had mentioned possibility, just like DBSpec has.

ipolevoy added a commit that referenced this issue Dec 8, 2022
@ipolevoy
Copy link
Member

ipolevoy commented Dec 8, 2022

@eugeneRover , this is complete. See the docs: https://javalite.io/testing#database-transaction-management

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants