Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurf+15 more

    Unit & Integration Test Generator

    by PubsProToolkit

    1

    A generated test suite is only worth anything if its tests can actually fail for a real reason.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    Write tests for this parse_discount(code, cart_total) function — it returns a discount amount and raises on unknown codes.

    Your agent does

    A test plan first (valid code applies the discount; zero and negative cart_total; unknown and empty code raise; very large total rounding; discount never exceeds the total), then a runnable pytest file with parametrized cases, the clock/DB mocked, and assertions on both return values and raised errors — plus a flag: "confirm whether expired codes should error or silently no-op (business rule I can't infer)."

    What you get

    Generate a unit test suite for a function or module you just wrote.Backfill tests on untested or legacy code before refactoring it.Add integration tests for a key flow across multiple units.Cover the edge cases and error paths a quick pass would miss.

    About this skill

    A generated test suite is only worth anything if its tests can actually fail for a real reason. This skill writes those — not coverage-padding stubs that mirror the implementation and break on every refactor. It runs an ordered pass: • Understands the target — inputs, outputs, side effects, dependencies, error conditions, the contract • Detects your framework and conventions — pytest, unittest, Jest, Vitest, JUnit, Go testing, RSpec — and matches your repo's style • Enumerates the cases first — happy path, edge/boundary, error paths, side effects, integration points (shown as a test plan) • Writes clear arrange-act-assert tests — descriptive, isolated, deterministic, with external dependencies mocked properly • Covers the failure modes — the untested error handling where real bugs hide • Adds integration tests where they earn their place • Makes them runnable, with the command to run them You get the test file(s) in your framework plus a coverage summary, including any cases that need domain knowledge it can't infer (flagged, not guessed). It writes tests — it doesn't judge whether an existing suite is adequate; pair it with a test-coverage gate for that.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    Listed1 month ago

    Creator

    PubsProToolkit builds rigor-first skills for AI agents — they write your docs and content properly, then adversarially review them to catch what's wrong before it ships. The result: cleaner output and a hard quality gate in one toolkit. Built by a CMPP-certified, PhD medical writer who brings regulated-industry standards to developer docs, content, compliance, and research integrity.

    Frequently Asked Questions

    Popular in Testing & QA