Optional Recommended Software - vanderbilt-redcap/redcap_cypress GitHub Wiki
VS Code
https://code.visualstudio.com/
Supports Gherkin and JavaScript syntax.
Recommended Extension
Cucumber:
Prerequisite: Assuming starting point of redcap_cypress_docker folder:
They key settings for picking up Step Definitions:
"cucumber.features": [
"redcap_cypress/redcap_rsvc/Feature Tests/**/*.feature", //These are the RSVC features
"redcap_cypress/cypress/features/*.feature" //Standard feature folder
],
"cucumber.glue": [
"redcap_cypress/node_modules/rctf/step_definitions/*.js", //This is where the step definitions are
"redcap_cypress/node_modules/rctf/step_definitions/support/*.js", // This picks up the parameter types - VERY important
],
Overall, here is a recommended settings.json
{
"workbench.colorCustomizations": {
// "activityBar.background": "#aaa",
// "sideBar.background": "#fbfbfb",
// "editorError.foreground": "#ff000088",
// "editorWarning.foreground": "#ff000088",
// "editorWarning.background": "#fff",
// "editorInfo.foreground": "#ff000088",
},
"cucumber.features": [
"redcap_cypress/redcap_rsvc/Feature Tests/**/*.feature",
"redcap_cypress/cypress/features/*.feature"
],
"cucumber.glue": [
"redcap_cypress/node_modules/rctf/step_definitions/*.js",
"redcap_cypress/node_modules/rctf/step_definitions/support/*.js",
]
}