Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Perl TestNew to Visual Studio Code? Get it now.
Perl Test

Perl Test

kfly8

|
34 installs
| (0) | Free
Run Perl tests with ease
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Perl Test - VSCode Extension

Run Perl tests with ease - directly from your editor with visual feedback!

cover

Features

  • Gutter Decorations: Test status icons (✓/✗) appear in the editor gutter
  • Selective Test Execution: Run individual subtests or Test::Class methods

Selective Test Execution

This extension enables selective test execution when using the following test modules:

  • Test2::Plugin::SubtestFilter
    • Filters subtests by name using the SUBTEST_FILTER environment variable
  • Test::Class
    • Filters test methods using the TEST_METHOD environment variable

Both can be used together for fine-grained test selection.

Configuration

Settings

  • test2SubtestFilter.proveCommand: Full command to run prove with arguments (default: "prove -lv")

Example Settings

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

Simple:

{
  "test2SubtestFilter.proveCommand": "prove -lv"
}

With Carton:

{
  "test2SubtestFilter.proveCommand": "carton exec -- prove -lv"
}

With Docker Compose:

{
  "test2SubtestFilter.proveCommand": "docker compose exec app carton exec -- prove -lv"
}

With Custom Formatter:

{
  "test2SubtestFilter.proveCommand": "T2_FORMATTER=Cute perl -Ilib"
}

License

MIT

Credits

Supports Test2::Plugin::SubtestFilter and Test::Class for selective test execution.

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