unit-test

Generate unit and integration tests across languages with AAA patterns.

4|1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/nntan90/qa-skill-suite --skill unit-test-nntan90
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unit-test
Source: https://github.com/nntan90/qa-skill-suite/tree/main/unit-test
Command: npx skills add https://github.com/nntan90/qa-skill-suite --skill unit-test-nntan90

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing tests for multiple languages and frameworks is time-consuming and often inconsistent. This Skill guides you to generate unit tests and integration tests with a unified approach, ensuring clear structure and strong coverage across Python, JavaScript, Java, Go, and more.

Core Features & Use Cases

  • AAA pattern-driven test generation with clear separation of Arrange, Act, Assert.
  • Parameterized tests, snapshot tests, and mocking strategies for diverse frameworks.
  • Anti-pattern detection and a verification-before-completion gate to ensure quality and guardrails in test suites.
  • Real-world use: quickly scaffold tests for new modules or to boost coverage on legacy code.

Quick Start

Paste your code and requirements; I will generate a complete test suite plan and runnable tests.

Frequently Asked Questions about unit-test

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

FAQPage Schema
How do I generate unit tests using the AAA pattern across multiple languages?

Generate unit tests using the AAA pattern by providing code context to get structured Arrange, Act, Assert separation. This ensures clear test structure and strong coverage across Python, JavaScript, Java, and Go.

Can I scaffold both unit and integration tests with mocking strategies for pytest and jest?

Yes, you can scaffold both unit and integration tests with mocking strategies for pytest and jest. The tool automates test generation with parameterized tests, snapshot tests, and clear mock strategies.

What is the best way to add test coverage to legacy code?

The best way to add coverage to legacy code is pasting existing modules and requirements to generate a complete test suite plan. This provides runnable tests with anti-pattern detection and a verification-before-completion gate.

Does this test generation approach support TDD guidance and anti-pattern detection?

Yes, this test generation approach supports TDD guidance and anti-pattern detection. It applies structured test planning, mock strategies, and a verification gate to ensure quality and guardrails in test suites.

How do I create parameterized and snapshot tests for diverse frameworks?

Create parameterized and snapshot tests by supplying your code context and framework requirements. The generation process applies cross-framework coverage with clear rationale for diverse testing environments.