Skip to content

Status quo for selecting @TestTemplate or @TestFactory invocations by Unique ID #1031

@sbrannen

Description

@sbrannen

Overview

This issue is a prerequisite for #1025.

Implementation Notes

  • Update JavaElementsResolver.resolveUniqueId(TestDescriptor, List<Segment>) so that it returns the number of resolved segments instead of a boolean and then check that all segments were resolved in JavaElementsResolver.resolveUniqueId(UniqueId) in order to determine what information to include in the log message.

Deliverables

  • Test the status quo for selecting @TestTemplate and @TestFactory invocations by Unique ID.
    • See DiscoverySelectorResolverTests.
  • Update the warning logged by JavaElementsResolver.resolveUniqueId() so that it informs the user that the Unique ID could only be partially resolved and that all test template invocations or dynamic tests will be executed.
    • See Implementation Notes.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions