Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qavajs/vscode

VSCode extension to work with qavajs framework
https://github.com/qavajs/vscode

qa test-automation testing

Last synced: about 1 month ago
JSON representation

VSCode extension to work with qavajs framework

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