Registry / testing / esdoc-integrate-test-plugin

esdoc-integrate-test-plugin

JSON →
library1.0.0jsnpmunverified

The ESDoc Integrate Test Plugin is an extension for the ESDoc documentation generator, designed to incorporate integration test information directly into generated API documentation. It identifies test files based on configurable patterns (e.g., `(spec|Test)\.js$`) and extracts relevant interfaces such as `describe`, `it`, and `context` from test frameworks like Mocha or Jest, embedding these examples alongside the code they test. The plugin's current stable version is 1.0.0. However, the broader ESDoc ecosystem, including this plugin, appears to be abandoned, with no significant development or maintenance activity since approximately 2020. This means it lacks support for modern JavaScript features, TypeScript, and recent Node.js versions, making it unsuitable for contemporary projects requiring up-to-date documentation tooling. Its key differentiator was its tight integration of testing context into API docs, a feature now often handled by more actively maintained tools through different mechanisms.

npm install esdoc-integrate-test-plugin
INSTALL
IMPORT
SIG · ESDOC-INTEGRATE-TE
E
esdoc-integrate-test-plugin
testingjavascriptv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

This configuration snippet shows how to integrate the plugin into your ESDoc setup (typically in an `esdoc.json` file), specifying where your test files are located (`source`), which testing interfaces to recognize, and patterns for including/excluding test files.

{ "source": "./src", "destination": "./docs", "plugins": [ { "name": "esdoc-integrate-test-plugin", "option": { "source": "./test/", "interfaces": ["describe", "it", "context", "suite", "test"], "includes": ["(spec|Spec|test|Test)\\.js$"], "excludes": ["\\.config\\.js$"] } } ] }
Debug
Known issues
breakingThe ESDoc ecosystem, including this plugin, appears to be abandoned since approximately 2020. This means there is no active maintenance, security updates, or compatibility with newer JavaScript language features (ES2020+), TypeScript, or recent Node.js versions. Expect potential compatibility issues with modern tooling and environments.
fix
Consider migrating to a more actively maintained documentation generator (e.g., JSDoc, TypeDoc, Docusaurus) that supports modern JavaScript and Node.js versions.
affects: >=1.0.0
gotchaThe plugin's `engines.node` requirement is `>= 6.0.0`, which is extremely old and likely incompatible with current Node.js LTS versions (e.g., Node.js 18+). Running with newer Node.js versions may lead to unexpected errors or silent failures.
fix
If absolutely necessary to use this plugin, you would need to run it in a very old Node.js environment (e.g., Node.js 6 or 8), which is not recommended for production or modern development workflows due to security and performance implications.
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
esdoc-integrate-test-plugin — npm install esdoc-integrate-test-plugin · libregistry