You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation in the reference manual for transactional support in the Spring TestContext Framework (TCF) is currently very lacking. Currently there are only two examples:
FictitiousTransactionalTest: a JUnit-based POJO test class that demonstrates the usage of all annotations related to transactions in the TCF, but in a less than exemplary fashion.
AbstractClinicTests: an extension of AbstractTransactionalJUnit4SpringContextTests that demonstrates the use of countRowsInTable() but not much else.
So, although there are two examples in the reference manual, neither of these demonstrates best practices or typical usage scenarios. Furthermore, there are zero examples using TestNG.
Deliverables
Delete the AbstractClinicTests example and create a similar JUnit-based example in the "Transaction management" or "JUnit support classes" section.
Repurpose content from the "PetClinic Example" section as a new "Best Practices" section.
Create a TestNG-based example that is directly analogous to the new JUnit-based example, for comparison purposes.
Uh oh!
There was an error while loading. Please reload this page.
Sam Brannen opened SPR-11399 and commented
Status Quo
The documentation in the reference manual for transactional support in the Spring TestContext Framework (TCF) is currently very lacking. Currently there are only two examples:
FictitiousTransactionalTest
: a JUnit-based POJO test class that demonstrates the usage of all annotations related to transactions in the TCF, but in a less than exemplary fashion.AbstractClinicTests
: an extension ofAbstractTransactionalJUnit4SpringContextTests
that demonstrates the use ofcountRowsInTable()
but not much else.So, although there are two examples in the reference manual, neither of these demonstrates best practices or typical usage scenarios. Furthermore, there are zero examples using TestNG.
Deliverables
AbstractClinicTests
example and create a similar JUnit-based example in the "Transaction management" or "JUnit support classes" section.Affects: 3.0 GA
Issue Links:
@Transactional
on TestNG@BeforeClass
methods in the TestContext frameworkThe text was updated successfully, but these errors were encountered: