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
Overview
This issue is a prerequisite for #1025.
Implementation Notes
JavaElementsResolver.resolveUniqueId(TestDescriptor, List<Segment>)so that it returns the number of resolved segments instead of abooleanand then check that all segments were resolved inJavaElementsResolver.resolveUniqueId(UniqueId)in order to determine what information to include in the log message.Deliverables
@TestTemplateand@TestFactoryinvocations by Unique ID.DiscoverySelectorResolverTests.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.