Home/Tools/@tpmjs/tools-test-plan-matrix

testPlanMatrixTool

@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.

Official
documentation
v0.2.0
MIT

Interactive Playground

Test @tpmjs/tools-test-plan-matrix (testPlanMatrixTool) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/tools-test-plan-matrix
pnpm add @tpmjs/tools-test-plan-matrix
yarn add @tpmjs/tools-test-plan-matrix
bun add @tpmjs/tools-test-plan-matrix
deno add npm:@tpmjs/tools-test-plan-matrix

2. Import the tool

import { testPlanMatrixTool } from '@tpmjs/tools-test-plan-matrix';

3. Use with AI SDK

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);

Parameters

Available configuration options

Auto-extracted
features
Required
Type: array

List of features to test

testTypes
Required
Type: array

List of test types (e.g., unit, integration, e2e, performance)

coverage
Optional
Type: object

Optional 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

README

ERROR: No README data found!

Statistics

Downloads/month

42

Quality Score

78%

Bundle Size

NPM Keywords

tpmjs
documentation
ai
testing
qa
test-matrix

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai
testPlanMatrixTool | TPMJS | TPMJS