test

Generate or run tests with framework detection and failure analysis.

Updated May 25, 2026
One-click install
npx skills add https://github.com/cmetech/otto-cli --skill test-cmetech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/cmetech/otto-cli/tree/main/src/resources/skills/test
Command: npx skills add https://github.com/cmetech/otto-cli --skill test-cmetech

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate or run tests for the current project. This skill auto-detects the test framework, generates missing tests for source files, or runs existing test suites with failure analysis.

Core Features & Use Cases

  • Auto-detects the test framework and conventions from configuration files and existing tests.
  • Generate tests for source files in supported languages and frameworks.
  • Run existing test suites and provide failure analysis with guidance to fix.

Quick Start

Ask OTTO to generate tests for a specified source file, run the existing test suite with analysis, or get test suggestions when no arguments are provided.

Frequently Asked Questions about test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate tests for source files automatically?

Generate tests automatically by prompting the skill to analyze specified source files. It auto-detects your test framework, reads project dependencies, and creates missing tests following existing project-specific testing patterns and mocks.

How does auto-detection of test frameworks work from configuration files?

Test framework auto-detection works by scanning project configuration files and existing test suites to identify established conventions. It uses these detected patterns to ensure generated tests integrate seamlessly with your current setup.

Can I run existing test suites and get failure analysis?

Yes, you can run existing test suites and receive failure analysis. The tool executes your test suites and provides detailed guidance to help diagnose and fix any failures encountered during the test execution process.

Does test generation support multiple programming languages?

Yes, test generation supports multiple languages by adapting to the detected test framework and project dependencies. It creates missing tests by following the specific testing patterns and conventions already established in your codebase.

What is the best way to get test suggestions for a project?

The best way to get test suggestions is to request them without providing specific file arguments. The system analyzes your project context, auto-detects the test framework, and suggests appropriate tests for your source files.