@tpmjs/tools-test-plan-matrix
Creates a test plan matrix showing coverage of features by test types. Takes a list of features, test types, and optional coverage mapping. Returns a matrix showing which features are covered by which test types, coverage statistics, and identifies gaps where features lack certain test types.
Test @tpmjs/tools-test-plan-matrix (testPlanMatrixTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-test-plan-matrixpnpm add @tpmjs/tools-test-plan-matrixyarn add @tpmjs/tools-test-plan-matrixbun add @tpmjs/tools-test-plan-matrixdeno add npm:@tpmjs/tools-test-plan-matriximport { testPlanMatrixTool } from '@tpmjs/tools-test-plan-matrix';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { testPlanMatrixTool } from '@tpmjs/tools-test-plan-matrix';
const result = await generateText({
model: openai('gpt-4o'),
tools: { testPlanMatrixTool },
prompt: 'Your prompt here...',
});
console.log(result.text);Available configuration options
featuresarrayList of features to test
testTypesarrayList of test types (e.g., unit, integration, e2e, performance)
coverageobjectOptional coverage mapping. Keys are feature names, values are arrays of test types that cover that feature.
Schema extracted: 1/1/2026, 8:18:03 AM
ERROR: No README data found!
Downloads/month
42
Quality Score