Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Imandra SpecLogicianNew to Visual Studio Code? Get it now.
Imandra SpecLogician

Imandra SpecLogician

Imandra

|
14 installs
| (0) | Free
Formalize and analyze gherkin scenarios using Imandra SpecLogician
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Imandra SpecLogician: VS Code

Use Imandra SpecLogician to formalize and analyze Gherkin scenarios.

Features

  • Translate Gherkin files first into a formal intermediate representation, and then into Imandra Protocol Language (IPL).
  • Apply Automated Reasoning techniques to the IPL model, including:
    • Generating a state map via Region Decomposition to see the explorable state sequences.
    • Performing reachability analysis to find out if certain scenarios are unreachable from state transitions implied by previous scenarios.
  • Integrate with the IPL Extension to explore the generated models.

Requirements

  • The IPL Extension (and its dependencies) is recommended to fully utilise formalized code.
  • The Cucumber Extension is recommended to provide symbol analysis on Gherkin files.

Extension Settings

You can configure SpecLogician with the following settings:

  • imandra.specLogician.apiKey: Set your Imandra Universe API key here. By default, this is inferred from the IMANDRA_API_KEY environment variable and then from the contents of ~/.config/imandra/api_key (or ~/.config/imandrax/api_key).

FAQ

  • You may want to silence warnings in cucumber files, as cucumber will highlight stuff yellow if there is no matching code implementation, which is not relevant to the specific purpose of this plugin. You can do this via adding .vscode/settings.json with
{
    "workbench.colorCustomizations": {
        "editorWarning.foreground": "#00000000",
    },
}

which just makes the color neutral.

  • If you encounter an unusual state that seems difficult to fix, you can clear the entire state of the extension by invoking imandra-spec-logician.clear-cache via SpecLogician: Clear the cache (WARNING). Notice that this clears all existing formalizations and generated files. The usage of this command should be a last resort.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft