{"enrichment":{"faq":[{"a":"tdd guides you through the red-green-refactor cycle across all Prowler components. You write a failing test first, implement minimum code to pass it, then refactor with confidence. This mandatory workflow ensures quality and safety throughout TypeScript/React, Python SDK, and Django API stacks.","q":"What is the tdd skill's test driven development workflow?"},{"a":"tdd teaches you to write failing tests before any implementation. Start by defining what your code should do via a test that fails, then write only the minimum code needed to make it pass, and finally refactor safely. This approach prevents over-engineering and catches bugs early.","q":"How do you write tests first in the TDD cycle red green refactor?"},{"a":"tdd covers unit test coverage for the Prowler SDK using pytest with moto for AWS mocking. You learn to set up proper test stacks, use fixtures and mocking effectively, and ensure comprehensive coverage across SDK components while following the red-green-refactor discipline.","q":"How does tdd help with pytest moto testing and prowler SDK coverage?"},{"a":"tdd teaches you to avoid hardcoding fake implementations and ensures triangulation with multiple test cases for edge cases and boundary values. You learn to write meaningful tests that catch real bugs rather than tests that simply pass, maintaining quality throughout refactoring.","q":"What anti-patterns does tdd help you avoid in testing?"},{"a":"Yes, tdd covers testing setup for UI (TypeScript/vitest with React Testing Library), SDK (Python pytest with moto), and API (Django pytest). You learn proper stacks and workflows for each component type, ensuring test-driven development practices across your entire Prowler codebase.","q":"Can tdd help set up testing for UI and API components?"},{"a":"tdd provides a safety net through comprehensive test coverage built during development. Once your test suite passes, you can refactor code confidently knowing tests will catch any regressions. This approach lets you improve code quality without fear of breaking functionality.","q":"How does tdd enable safe refactoring with test coverage?"}],"shadow_tags":["red-green-refactor","test-first-coding","unit-test-patterns","mock-driven-testing","behavior-verification","coverage-assessment","triangulation-strategy","multi-stack-testing","ci-safety-net","quality-assurance-workflow"],"summary_rewrite":"tdd guides you through mandatory test-driven development across all Prowler components using the red-green-refactor cycle. Learn to write failing tests first, implement minimum code to pass, triangulate with edge cases, and refactor with confidence. Covers TypeScript/React, Python SDK, and Django API stacks with practical examples."},"files":[{"bytes":9386,"path":"skills/tdd/SKILL.md","sha256":"5b10ba7a75d9622ad05776a093873d67eab5c7ef67ece996004bfecd9145185d","url":"https://skillfed.io/files/prowler-cloud/prowler/tdd/af111ea5/SKILL.md"}],"id":"prowler-cloud/prowler/tdd","links":{"html":"https://skillfed.io/prowler-cloud/prowler/tdd","md":"https://skillfed.io/prowler-cloud/prowler/tdd.md","repo":"https://github.com/prowler-cloud/prowler"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":2285,"language":"Python","last_updated":"2026-07-27","license":"Apache-2.0","name":"tdd","publisher":"prowler-cloud","stars":14491},"relations":{"similar":[{"id":"prowler-cloud/prowler/prowler-test-sdk"},{"id":"prowler-cloud/prowler/prowler-test-api"},{"id":"prowler-cloud/prowler/prowler-api"},{"id":"prowler-cloud/prowler/pytest"},{"id":"prowler-cloud/prowler/prowler"},{"id":"prowler-cloud/prowler/django-drf"},{"id":"prowler-cloud/prowler/django-migration-psql"},{"id":"prowler-cloud/prowler/vitest"},{"id":"Jeffallan/claude-skills/test-master"},{"id":"prowler-cloud/prowler/skill-creator"}]},"slug":{"owner":"prowler-cloud","repo":"prowler","skill":"tdd"},"version":"af111ea5"}
