← Back to Browse
Testing

TestPilot

Automatically generates comprehensive unit tests by analyzing your source code and inferring edge cases.

★★★★★ 4.7 287 reviews
9.7k installs
v1.8.0 MIT

Install

npx skilldock install test-pilot

About

TestPilot reads your functions, classes, and modules to generate meaningful test suites. It infers edge cases from type signatures and control flow, generates property-based tests, and maintains test coverage above your target threshold. Supports Jest, Vitest, Mocha, and pytest.

Usage Example

// Generate tests for a specific file
const tests = await testPilot.generate({
  source: "./src/utils/auth.ts",
  framework: "vitest",
  coverage: 90
});