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

[behave] Add support for passing all needed options to behave line command

Open alef75 opened this issue 4 months ago • 2 comments

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

In our project we cal the command behave with some option, but in current plugin implementation this is not possible.

for example we call behave -D ip=x.x.x.x -D headless=0

✨ What's your proposed solution?

in the cucumber runner configuration or in the global preference settings (it should be Project and not workspace ) add a text box in with user can insert all needed line options and append them to the behave command

⛏ Have you considered any alternatives or workarounds?

No response

📚 Any additional context?

No response

alef75 avatar Oct 27 '25 10:10 alef75

Is there a list of all Behave commands? Do I understand correctly that you can pass any -D option here so we need some kind of list like in maven launch config:

Image

laeubi avatar Jan 15 '26 12:01 laeubi

these are all the possible command parameters: https://behave.readthedocs.io/en/stable/behave/

for the -D -D NAME=VALUE, --define NAME=VALUE Define user-specific data for the config.userdata dictionary. Example: -D foo=bar to store it in config.userdata[“foo”].

alef75 avatar Jan 15 '26 23:01 alef75