rust-test-lens icon indicating copy to clipboard operation
rust-test-lens copied to clipboard

A vscode extension that adds a code lens to debug Rust tests.

Rust Test Lens

Build Status Visual Studio Marketplace Installs

A code lens to debug rust tests and binaries.

test lens

⚠ NOTE: No more maintenance will be done to this extension. #17 has lead to adding the debug codelens into rust-analyzer#3561. This code will remain available as is for those not using rust-analyzer.

Requirements

Depends on the LLDB extension vscode-lldb.

Extension Settings

This extension can be enabled/disabled using the following setting:

  • rust-test-lens.enable: true/false to enable/disable this extension
  • rust-test-lens.args.main: An array of strings with the application arguments.
  • rust-test-lens.args.tests: An array of strings with extra arguments. Defaults to --no-capture. Run cargo test -- --help to see all possible options.