Skip to content

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

Closed

Description

@spring-projects-issues

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:

Activity

  1. spring-projects-issues commented on Aug 31, 2014

    @spring-projects-issues
    CollaboratorAuthor

    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
  2. added
    in: test
    type: documentation
    on Jan 11, 2019
  3. added this to the 4.1 GA milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: testtype: documentation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions