apache / apache/grails-core

Add support for Junit tests for `@Integration`

Open
#15,588 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

### Expected Behavior

Grails 7 Integration test data won't rollback, we each of the Integration test class is annotated with @Integration and @Rollback.
The same integration tests in Grails 6.x is working fine, can you help us in this regard

### Actual Behaviour

Integration test data inserted/updated/deleted should be rollback, In Grails 6.x version this is working fine

### Steps To Reproduce

_No response_

### Environment Information

Windows/MAC/Linux
JDK 17.0.13

### Example Application

_No response_

### Version

7.1.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the rollback behavior in Grails 7.1.0 using an integration test class annotated with @Integration and @Rollback, then compare it with the same test on Grails 6.x. Done means inserted, updated, and deleted integration-test data is rolled back as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
backend, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.