Toolverse
All skills

testing-code

by CaptainCrouton89

Write automated tests for features, validate functionality against acceptance criteria, and ensure code coverage. Use when writing test code, verifying functionality, or adding test coverage to existing code.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Testing
Views
7

About this skill

Write automated tests for features, validate functionality against acceptance criteria, and ensure code coverage. Use when writing test code, verifying functionality, or adding test coverage to existing code.

How to use

  1. Przygotuj dokumentację projektu — zbierz user stories z docs/user-stories/, specyfikacje funkcji z docs/feature-spec/ i kontrakty API z docs/api-contracts.yaml. Skill będzie czytać te pliki, aby zrozumieć wymagania do testowania.

  2. Przeanalizuj istniejące testy w projekcie — wskaż skill na folder tests/ lub __tests__/, aby nauczył się używanych frameworków (Jest, Vitest, Pytest), wzorców mockowania i struktury fixture'ów. To zapewni, że nowe testy będą spójne ze starymi.

  3. Zdefiniuj zakres testów — powiedz skillowi, które funkcje, komponenty lub endpointy API chcesz testować. Skill zaproponuje typy testów (unit, integration, component, E2E, contract, performance) odpowiednie do Twojego przypadku.

  4. Mapuj kryteria akceptacji na przypadki testowe — skill przekształci 3–5 kryteriów z user story na konkretne test case'y, podzielone po typach testów. Każdy test będzie weryfikować jedno zachowanie.

  5. Wygeneruj kod testów — skill napisze testy w składni Twojego frameworka, z asercjami, setup/teardown i danymi testowymi. Sprawdź je pod kątem logiki i dostosuj jeśli trzeba.

  6. Weryfikuj pokrycie kodu — uruchom testy i sprawdź raport pokrycia (coverage). Skill wskaże luki i zasugeruje dodatkowe testy, aby osiągnąć cel pokrycia (np. 80%).

Related skills

ppt-creator

by daymade

Create professional slide decks from topics or documents. Generates structured content with data-driven charts, speaker notes, and complete PPTX files. Applies persuasive storytelling principles (Pyramid Principle, assertion-evidence). Supports multiple formats (Marp,

Testing
2739

code-review-excellence

by wshobson

Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.

Testing
1145

lean4-theorem-proving

by cameronfreer

Use when developing Lean 4 proofs, facing type class synthesis errors, managing sorries/axioms, or searching mathlib - provides build-first workflow, instance management patterns (haveI/letI), and domain-specific tactics

Testing
9108

langgraph-docs

by langchain-ai

Use this skill for requests related to LangGraph in order to fetch relevant documentation to provide accurate, up-to-date guidance.

Testing
23127

nextjs-developer

by zenobi-us

Expert Next.js developer mastering Next.js 14+ with App Router and full-stack features. Specializes in server components, server actions, performance optimization, and production deployment with focus on building fast, SEO-friendly applications.

Testing
166226

testing-workflow

by amo-tech-ai

Comprehensive testing workflow for E2E, integration, and unit tests. Use when testing applications layer-by-layer, validating user journeys, or running test suites.

Testing
1076