Open
Description
Eric Jain opened SPR-5520 and commented
Being able to configure that all test methods in a class should be run in the same transaction would be useful for people using TestNG (which supports test method dependencies) to write functional tests.
This feature could also be useful in JUnit Jupiter when using @TestInstance(PER_CLASS)
or the planned support for scenario tests.
Affects: 2.5.6
Issue Links:
- TestEntityManager can't be configured in @BeforeAll method in test class with @TestInstance(PER_CLASS) in JUnit Jupiter [SPR-16550] #21093 TestEntityManager can't be configured in
@BeforeAll
method in test class with@TestInstance
(PER_CLASS) in JUnit Jupiter ("is duplicated by") - Support @Transactional on TestNG @BeforeClass methods in the TestContext framework [SPR-11397] #16024 Support
@Transactional
on TestNG@BeforeClass
methods in the TestContext framework
1 votes, 1 watchers