tester

Generate and run Python and JavaScript unit and integration tests with pytest, unittest, and jest, reporting coverage.

4|Updated Aug 19, 2025
One-click install
npx skills add https://github.com/wtthornton/HomeIQ --skill tester-wtthornton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tester
Source: https://github.com/wtthornton/HomeIQ/tree/main/.claude/skills/tester
Command: npx skills add https://github.com/wtthornton/HomeIQ --skill tester-wtthornton

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Insufficient test coverage undermines quality. This Skill generates unit and integration tests, runs them, and reports coverage.

Core Features & Use Cases

  • Test Generation: Creates unit and integration tests from code analysis.
  • Test Execution: Runs tests with pytest and reports results.
  • Context7 Integration: Looks up test framework docs (pytest, unittest).
  • Coverage Reporting: Tracks and reports test coverage against targets.

Quick Start

*test calculator.py

Frequently Asked Questions about tester

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

FAQPage Schema
How do I generate unit tests for my Python code?

Generate unit tests by analyzing your codebase structure and automatically creating test cases for public functions and module interactions. The Skill uses pytest to execute generated tests, include edge cases and error handling, and follow your project conventions while validating against pytest documentation.

Can I generate tests for JavaScript code as well as Python?

Test generation works across both Python and JavaScript codebases. The Skill creates unit and integration tests appropriate to each language, executes them with language-specific frameworks like jest or pytest, and reports results in a unified format.

How do I check test coverage for my project?

After running your test suite, the Skill reports coverage metrics against your targets and identifies gaps in tested code paths. Coverage reports reveal which functions and branches lack test execution, helping you prioritize test creation.

How does the Skill handle external dependencies and APIs in tests?

The Skill mocks external dependencies to isolate unit tests from live services and APIs. Mocking allows tests to run reliably without external calls while maintaining integration test capability for validated interactions.

Do I need to write tests manually, or does this automate test creation?

Test creation is automated through code analysis that identifies public functions, module interactions, and edge cases. You provide the codebase; the Skill generates, executes, and reports tests without manual test writing.

What happens if my project uses a testing framework other than pytest or jest?

The Skill is optimized for pytest and unittest in Python, and jest in JavaScript. For other frameworks, test generation may require adaptation, though core logic extraction and coverage reporting principles apply across testing tools.