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

Signature

(features: string[], testTypes: string[], coverage?: Record<string, unknown>) => Promise<unknown>

Tags

ai
coverage
creates
documentation
features
matrix
plan
qa
showing
takes
test
test-matrix
testing
tpmjs
types

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: 3/1/2026, 4:25:41 AM

README

ERROR: No README data found!

Statistics

Downloads/month

4

GitHub Stars

0

Quality Score

72%

Bundle Size

NPM Keywords

tpmjs
documentation
ai
testing
qa
test-matrix

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai