Skip to content

Document @TestPropertySource support in the reference manual [SPR-12076] #16692

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

Closed
1 task done
spring-projects-issues opened this issue Aug 11, 2014 · 1 comment
Closed
1 task done
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 Aug 11, 2014

Sam Brannen opened SPR-12076 and commented

Status Quo

#16667 introduced @TestPropertySource support in the TestContext framework, but this new feature has not yet been documented in the reference manual.

Deliverables

  1. Document @TestPropertySource support in the reference manual, including examples for:
    • resource locations
    • inlined properties
    • precedence rules for inlined test properties, test resource locations, and production properties
    • inheritance and overriding of locations and properties within a test class hierarchy

Affects: 4.1 RC2

Issue Links:

Referenced from: commits 9926bad

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

Completed as described in the comments for GitHub commit 9926bad:

Document @TestPropertySource support in the reference manual

This commit introduces a new "Context configuration with test property
sources" section in the Testing chapter of the reference manual.

In addition, the "Context caching" section has been updated regarding
support for test property source locations and properties in
MergedContextConfiguration.

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