Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>testdocsNew to Visual Studio Code? Get it now.
testdocs

testdocs

gvjacob

|
482 installs
| (0) | Free
Tests as documentation! testdocs is a lens to your Javascript's tests.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

testdocs for VS Code

Tests as documentation! This is a VSCode extension that gives you a convenient lens to the tests of your Javascript symbols. Hovering over a symbol gives you a top down overview of its tests. File name convention and considered test blocks can be configured through the extension's settings.

Extension Settings

This extension contributes the following settings:

  • testdocs.testFileNames: prioritized list of files to scan for tests
  • testdocs.ignoredBlocks: ignored test blocks
  • testdocs.flattenBlocks: flattened test blocks

Definition: A test block includes describe, suite, context, etc.

Conventions: Use __filename__ to denote file name of hovered symbol, __symbol__, for name of symbol, or __root__ for path to project's root directory when specifying testFileNames.

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