farhan5248 / sheep-dog-tools

Eclipse and Maven plug-ins to help manual testers support developers adopting bdd and tdd using lean principles
GNU General Public License v3.0
0 stars 0 forks source link

Suggest an object only once when considering previous objects #206

Closed farhan5248 closed 1 week ago

farhan5248 commented 2 weeks ago

If an object is referenced with its full name in one step and then just the simple name in another, I think it shows up twice in the suggestions.

Instead, when selecting objects from previous steps, identify their fully qualified name and only display it once with the path and object, not component

farhan5248 commented 1 week ago

To test this, have 3 statements component path object path object object

There should only be 1 entry, not 2 because of dupe path or 3 because of the count

farhan5248 commented 1 week ago

Use TreeMap to handle duplicates