vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Improve Cucumber Glue

Open deesebc opened this issue 1 year ago • 2 comments
trafficstars

🤔 What's the problem you're trying to solve?

I usually configure the steps in java libraries. And I have no problem to configure it through the typical RunCukeTests class. Indicating my library classpath in the glue section. But it is not possible to do it through the Visual Studio Code extension. Or maybe yes and I don't know how to do it?

✨ What's your proposed solution?

Be able to configure the classpath external jars into glue configuration. Like in JUnit classes.

⛏ Have you considered any alternatives or workarounds?

Maybe it will also works if we can put the folder from m2 repository (where it's the jar) in glue configuration.

📚 Any additional context?

No response

deesebc avatar Jun 24 '24 12:06 deesebc

Thanks for raising @deesebc, you are correct support is yet to be implemented for such functionality. Would you be able to take a look at cucumber/language-server#95 and advise whether there's any potential overlap or considerations that should be made?

Would you be able to provide a minimum example or link on this issue demonstrating some of your related configuration; as a point of reference?

kieran-ryan avatar Jul 15 '24 20:07 kieran-ryan

This is also impacting Theia IDE using this extension. Glue code that is pulled in from a maven dependency is not being registered.

z0rb avatar Mar 25 '25 12:03 z0rb