-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: testIssues in the test moduleIssues in the test moduletype: documentationA documentation taskA documentation task
Milestone
Description
Shalom Deitch opened SPR-11902 and commented
Status Quo
If you search for @IfProfileValue in the reference manual, you will find the following paragraph:
Indicates that the annotated test is enabled for a specific testing environment. If the configured ProfileValueSource returns a matching value for the provided name, the test is enabled. This annotation can be applied to an entire class or to individual methods. Class-level usage overrides method-level usage.
Proposal
If the class-level usage overrides the method-level, then there is no point in having both. I assume that it should be: method-level usage overrides class-level usage.
Affects: 4.0.5
Issue Links:
- Class-level @IfProfileValue overrides method-level @IfProfileValue settings [SPR-5902] #10571 Class-level
@IfProfileValueoverrides method-level@IfProfileValuesettings - ProfileValueUtils should enforce class-level usage of @IfProfileValue to override method-level usage [SPR-5914] #10583 ProfileValueUtils should enforce class-level usage of
@IfProfileValueto override method-level usage
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test moduletype: documentationA documentation taskA documentation task