Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qavajs/vscode
VSCode extension to work with qavajs framework
https://github.com/qavajs/vscode
qa test-automation testing
Last synced: 3 days ago
JSON representation
VSCode extension to work with qavajs framework
- Host: GitHub
- URL: https://github.com/qavajs/vscode
- Owner: qavajs
- License: mit
- Created: 2023-03-27T08:42:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-21T09:30:42.000Z (5 months ago)
- Last Synced: 2024-06-22T02:45:08.041Z (5 months ago)
- Topics: qa, test-automation, testing
- Language: TypeScript
- Size: 2.13 MB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# qavajs VSCode extension
This is an extension based on Cucumber official plugin and enables support of qavajs framework features.
## Features
- VSCode Test Explorer
- Template Autocomplete
- Constants Autocomplete
- Page Object Autocomplete
- Page Object Explorer## Extension Settings
This extension contributes the following settings:
* `cucumber.features`: gherkin files paths (array)
* `cucumber.glue`: step definition file paths (array)
* `qavajs.templates`: templates files paths (array)
* `qavajs.pageObject`: page object root file path (string)
* `qavajs.memory`: memory root file path (string)
* `qavajs.launchCommand`: qavajs launch command (default: `npx qavajs run`) (string)```json
{
"files.associations": {
"*.feature": "cucumber"
},
"cucumber.features": [
"features/**/*.feature"
],
"cucumber.glue": [
"node_modules/@qavajs/**/src/*.ts",
"step_definition/*.ts"
],
"qavajs.templates": [
"templates/*.feature"
],
"qavajs.pageObject": "page_object/index.ts",
"qavajs.memory": "memory/index.ts",
"qavajs.launchCommand": "npx qavajs run --config config.ts",
}
```## How To Use
### Test Explorer
![](resources/test_explorer.png)### Page Object Explorer
Click the copy icon to copy qavajs path
![](resources/po_explorer.png)### Page Object Autocomplete
Type ?
![](resources/po_autocomplete.png)### Constants Autocomplete
Type $
![](resources/memory_autocomplete.png)## Known Issues and Limitation
* typescript projects require installed `ts-node`
* @qavajs/cli > 0.34.2