Toolverse
All skills

tdd-guide

by alirezarezvani

Test-driven development workflow with test generation, coverage analysis, and multi-framework support

Installation

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

Installation

Quick info

Category
Testing

About this skill

Test-driven development workflow with test generation, coverage analysis, and multi-framework support

How to use

  1. Przygotuj kod źródłowy, który chcesz testować (TypeScript, JavaScript, Python lub Java), i określ, który framework testowy chcesz użyć (Jest, Pytest, JUnit, Vitest lub Mocha). 2. Aby wygenerować testy, uruchom test_generator.py ze ścieżką do pliku źródłowego i wybranym frameworkiem — narzędzie utworzy gotowe testy obejmujące happy path, przypadki błędów i edge cases. 3. Jeśli chcesz analizować pokrycie kodu, wygeneruj raport z twojego test runnera (np. npm test -- --coverage), a następnie uruchom coverage_analyzer.py na raporcie w formacie LCOV, JSON lub XML — otrzymasz listę luk w pokryciu posortowaną według priorytetu (P0/P1/P2). 4. Do wdrażania TDD od zera zacznij od napisania testu, który nie przechodzi (faza RED), uruchom tdd_workflow.py --phase red aby go zwalidować, następnie napisz minimalny kod aby test przeszedł (faza GREEN) i uruchom tdd_workflow.py --phase green. 5. Po przejściu testu refaktoruj kod zachowując zielone testy, a narzędzie pomoże ci weryfikować każdy krok cyklu. 6. Powtarzaj proces dla każdej nowej funkcjonalności, aż do osiągnięcia docelowego pokrycia testami (zazwyczaj 80% lub więcej).

Related skills

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

qa-tester

by svilupp

\

Testing
2399

backtesting-frameworks

by wshobson

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

Testing
12105

test-cases

by cexll

This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering

Testing
2862

differential-review

by trailofbits

Performs security-focused differential review of code changes (PRs, commits, diffs). Adapts analysis depth to codebase size, uses git history for context, calculates blast radius, checks test coverage, and generates comprehensive markdown reports. Automatically detects and

Testing
2510

langchain

by zechenzhangAGI

Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering

Testing
21123