Skip to content

Cucumber#

Server#

For more information about the LSP server, check cucumber-language-server.

Installation#

This Server supports automatic install. Install this language server with M-xlsp-install-serverRETcucumber-language-serverRET.

npm install -g @cucumber/language-server

Debugger: Not available#

Available configurations#

lsp-cucumber-active-modes#

Type: list

Default: (feature-mode)

List of major mode that work with Cucumber language server.


lsp-cucumber-features#

Type: (repeat string)

Default: [src/test/**/*.feature features/**/*.feature tests/**/*.feature *specs*/**/*.feature]

Configure where the extension should look for .feature files.


lsp-cucumber-glue#

Type: (repeat string)

Default: [*specs*/**/*.cs features/**/*.js features/**/*.jsx features/**/*.php features/**/*.py features/**/*.rs features/**/*.rb features/**/*.ts features/**/*.tsx features/**/*_test.go **/*_test.go src/test/**/*.java tests/**/*.py tests/**/*.rs]

Configure where the extension should look for source code where step definitions and parameter types are defined.


lsp-cucumber-parameter-types#

Type: (lsp-repeatable-vector plist)

Default: []

Configure parameters types to convert output parameters to your own types.

Details at https://github.com/cucumber/cucumber-expressions#custom-parameter-types. Sample: [(:name "actor" :regexp "[A-Z][a-z]+")]


lsp-cucumber-server-path#

Type: string

Default: nil

Path points for Cucumber language server.

This is only for development use.



Last update: July 22, 2024