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

Document programmatic test transaction management support [SPR-11941] #16558

Closed
2 of 3 tasks
spring-projects-issues opened this issue Jul 2, 2014 · 1 comment
Closed
2 of 3 tasks
Assignees
Labels
in: test Issues in the test module type: documentation A documentation task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 2, 2014

Sam Brannen opened SPR-11941 and commented

Status Quo

#9753 introduced support for programmatically interacting with test-managed transactions in the Spring TestContext Framework (TCF); however, this new feature has not yet been sufficiently documented.

Deliverables

  1. Document programmatic support for stopping and starting test-managed transactions in the reference manual, including examples of how to use the new TestTransaction API.
  2. Introduce examples in the class-level Javadoc for TestTransaction.
  3. Document TestTransaction support in the class-level Javadoc for TransactionalTestExecutionListener.

Affects: 4.1 RC1

Issue Links:

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Aug 31, 2014

Sam Brannen commented

Completed in GitHub commit cdc5222:

Document programmatic tx mgt support in the TCF

This commit introduces a new "Programmatic transaction management"
section in the Testing chapter of the reference manual with an example
highlighting the new support provided via TestTransaction.

In addition, this commit begins the work to be addressed more
thoroughly in #16026 by overhauling the entire "Transaction
management" section with in-depth discussions on the following topics.

  • Test-managed transactions
  • Enabling and disabling transactions
  • Transaction rollback and commit behavior
  • Executing code outside of a transaction
  • Configuring a transaction manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

2 participants