GithubHelp home page GithubHelp logo

yoshikitakashima / kani-vscode-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from model-checking/kani-vscode-extension

0.0 0.0 0.0 11.97 MB

Yoshi's fork of the kani vs-code extension.

License: Apache License 2.0

Shell 1.67% JavaScript 3.30% Python 3.89% TypeScript 90.93% Makefile 0.21%

kani-vscode-extension's Introduction

Kani Visual Studio Code Extension

A Visual Studio Code extension that allows users to run and debug their Kani Rust Verifier harnesses in vscode.

Usage

Kani Usage

  1. Open a Rust package in Visual Studio Code.
  2. Navigate to the testing panel and expand on the Kani harness tree view where the harnesses are shown.
  3. Click on the play button beside the harness or the filename or the crate to run Kani on the respective test case.

Check user guide for more detailed information.

Features

  • Automatically indexes and shows Kani harnesses in a tree view.
  • One-click button for verifying Kani harnesses.
  • Generate counterexamples as Rust unit tests.
  • Debug counterexamples using a standard debugger.

Requirements

NOTE: The extension only works on Cargo packages. For standalone Rust files, Kani is only available on the command line.

Extension Settings

Setting Description Default
kani.enable-codelens Enable Codelens actions for Run Test (Kani) & Debug Test (Kani). true
kani.show-output-window Toggle to show the output terminal window containing the full output from Kani. false

Installation

The Kani VSCode Extension is available as a VSCode plugin. You can install the Kani VSCode Extension from the Visual Studio Marketplace.

If you want to build and package from source directly, see dev-documentation for more information.

Troubleshooting

Check troubleshooting for frequently asked questions and potential fixes.

If you have a question that is not answered there, please file an issue with your question.

Security

See SECURITY for more information.

License

This code is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.

Code of conduct

This project has adopted the Rust Code Of Conduct. See CODE OF CONDUCT for details.

kani-vscode-extension's People

Contributors

jaisnan avatar adpaco-aws avatar celinval avatar amazon-auto avatar feliperodri avatar qinheping avatar zhassan-aws avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.