Skip to content

Technical Documentation

Soumya edited this page Jan 3, 2019 · 2 revisions

Technical Documentation

This plugin is a VSCode extension to provide IDE features for Gauge.

For the following IDE features Gauge-vscode uses the Language server protocol. For these features Gauge core acts as the LSP server.

  • Create implementation - a step, concept implementation
  • Code completion - parameter, tags, step completion
  • Goto Definition - step, concept
  • Diagnostics - step implementation not found
  • References - step, concept references
  • Code Lens - show code lens to invoke Run, Debug Specs/Scenarios
  • Rename - refactor a step or a concept

Custom LSP calls

  • List specs/scenarios - to list specs, scenarios in the Test Explorer
  • Generate stubs - the implementation code to generate a step, concept
  • Execution status - fetch the execution status of the current execution to display on status bar

For the following IDE features Gauge-vscode does not use the Language server protocol

  • Welcome Page - show Gauge Welcome Page
  • Recommend Gauge IDE plugin - if IDE plugin is not installed then show the recommendation gauge extension
  • Apply recommended settings - Applies the recommended settings
  • Reports - Show the Last Run Report
  • Run/Debug - Debug or run the specification/scenario
Clone this wiki locally