Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

will this extension work for python(behave) #510

Open
knreddy1810 opened this issue Oct 24, 2024 · 2 comments
Open

will this extension work for python(behave) #510

knreddy1810 opened this issue Oct 24, 2024 · 2 comments

Comments

@knreddy1810
Copy link

knreddy1810 commented Oct 24, 2024

I installed this in vs code for my behave Project. All the step definitions are showing as not completed(yellow lines)
below is my setting

{
"cucumberautocomplete.steps": [
"features/steps/.py"
],
"cucumberautocomplete.syncfeatures": "features/feature_files/**/
.feature",
"cucumberautocomplete.strictGherkinCompletion": true,
"cucumberautocomplete.strictGherkinValidation": true,
"cucumberautocomplete.smartSnippets": true,
"cucumberautocomplete.stepsInvariants": true
}

@knreddy1810
Copy link
Author

used asterisks().py and asterisks().feature somehow it is not populating

@synvima
Copy link

synvima commented Oct 24, 2024

We use this extension with python and it works great as long as you do not put gherkin examples in docstrings (Ref #506).

This is our settings:

    "cucumberautocomplete.steps": [
        "./features/steps/*.py"
    ],
    "cucumberautocomplete.strictGherkinCompletion": false,
    "cucumberautocomplete.strictGherkinValidation": false,
    "cucumberautocomplete.smartSnippets": true,
    "cucumberautocomplete.stepsInvariants": true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants