Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Test2 Subtest FilterNew to Visual Studio Code? Get it now.
Test2 Subtest Filter

Test2 Subtest Filter

kfly8

|
2 installs
| (0) | Free
Run individual Perl subtests with Test2::Plugin::SubtestFilter
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Test2 Subtest Filter - VSCode Extension

VSCode extension for running individual Perl subtests using Test2::Plugin::SubtestFilter.

Requirements

  • Perl (5.16 or later recommended)
  • prove command available in your PATH (usually comes with Perl)
  • Test2::Plugin::SubtestFilter - using this plugin

Configuration

Settings

  • test2SubtestFilter.proveCommand: Command to run prove (default: "prove")

    • For Carton projects: "carton exec prove"
    • For custom Perl: "/path/to/perl -S prove"
  • test2SubtestFilter.proveArgs: Default arguments for prove (default: ["-lv"])

    • -l: Add lib to @INC
    • -v: Verbose output

Example Settings

Add to your workspace or user .vscode/settings.json:

{
  "test2SubtestFilter.proveCommand": "carton exec prove",
  "test2SubtestFilter.proveArgs": ["-lv", "--merge"]
}

License

MIT

Credits

Created for use with Test2::Plugin::SubtestFilter.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft