cucumber-eclipse icon indicating copy to clipboard operation
cucumber-eclipse copied to clipboard

call hierarchy for stepdefinitions

Open ilanpillemer opened this issue 12 years ago • 6 comments

"Just like you can find usages of a method in Java, you should be able to find (Gherkin step) usages of a step definition. Cucumber-JVM already has the ability to create a ""database"" of steps, step definitions and their usages. See this example.

This can be used as the basis for such a feature."

ilanpillemer avatar Jan 07 '13 13:01 ilanpillemer

Where is the example?

daveychu avatar May 05 '15 19:05 daveychu

@ilanpillemer can you provide the example please? @mpkorstanje can you tell what "database of steps in cucumber-jvm" could be referenced here?

laeubi avatar Aug 11 '19 06:08 laeubi

@laeubi I am afraid my memory of most of what I thought, did, achieved, ate, drank, watched in 2013 is a bit sketchy. And this particular memory did not make it through.

ilanpillemer avatar Aug 16 '19 13:08 ilanpillemer

Okay thanks, maybe @mpkorstanje has an idea otherwise I'll just close the ticket.

laeubi avatar Aug 16 '19 15:08 laeubi

In eclipse you have a feature to show the call hierarchy of a method. Shows all callers and the callers of callers. Since steps call methods, it would be nice if they were included.

Havent got the foggiest idea what the repository of steps could be though.

mpkorstanje avatar Aug 16 '19 15:08 mpkorstanje

Okay that makes sense. Will keep this open then.

laeubi avatar Aug 16 '19 17:08 laeubi