{"enrichment":{"faq":[{"a":"Testing helps you write unit tests by covering the AAA pattern (Arrange, Act, Assert), test fixtures, and mocking dependencies. Testing guides you through framework-specific approaches for React with Jest, Angular with Jasmine/Karma, Python with pytest, Java with JUnit, and Kotlin. Start by isolating a single component or function, set up its inputs, execute the code, and verify the output matches expectations.","q":"How to write unit tests for my code components?"},{"a":"Testing covers test-driven development (TDD) as a workflow where you write tests before implementation. The process involves writing a failing test, implementing minimal code to pass it, then refactoring. Testing guides you through this cycle, helping you design comprehensive testing strategies and understand the test pyramid\u2014unit tests at the base (most numerous), integration tests in the middle, and end-to-end tests at the top (fewest).","q":"What is test-driven development and how do I implement it?"},{"a":"Testing helps you analyze and improve test coverage metrics by showing how much of your codebase is exercised by tests. Testing guides you through setting coverage goals aligned with the test pyramid, identifying untested code paths, and balancing coverage with practical testing priorities. Tools vary by framework\u2014Jest for JavaScript, pytest for Python, JUnit for Java\u2014each providing coverage reports to track progress.","q":"How can I improve test coverage and analyze coverage metrics?"},{"a":"Testing covers setting up integration and API testing infrastructure by teaching you to test multiple components together and verify API endpoints. Testing guides you through frameworks like FastAPI's TestClient, Spring Boot's testing utilities, and general patterns for mocking external dependencies. You'll learn to test database interactions, HTTP requests, and service-to-service communication while keeping tests reliable and avoiding flaky test failures.","q":"How do I set up integration and API testing infrastructure?"},{"a":"Testing guides you through designing a comprehensive testing strategy for microservices using the test pyramid: many fast unit tests, fewer integration tests between services, and selective end-to-end tests. Testing covers test automation best practices, CI/CD pipeline integration, mocking external dependencies, and managing test fixtures for setup and teardown. This approach balances speed, reliability, and confidence across distributed systems.","q":"What testing strategy should I use for microservices?"},{"a":"Testing teaches you to mock external dependencies and manage test fixtures for reliable, isolated tests. Testing covers fixture setup and teardown patterns, mocking frameworks specific to your language (Jest mocks for JavaScript, pytest fixtures for Python, Spring's @MockBean for Java), and BDD-style given-when-then testing approaches. Proper mocking prevents flaky tests and ensures your tests run fast without external service calls.","q":"How do I mock external dependencies and handle test fixtures?"}],"shadow_tags":["quality-assurance","test-frameworks","code-coverage","mock-testing","behavior-driven","continuous-integration","test-automation","debugging-tests","test-infrastructure"],"summary_rewrite":"Testing guides you through designing effective test suites, writing unit and integration tests, and applying test-driven development practices. It covers test strategy, the AAA pattern, test fixtures, mocking dependencies, and framework-specific approaches for React, Angular, Python, Java, and Kotlin."},"files":[{"bytes":15305,"path":"skills/testing/SKILL.md","sha256":"ae97bf9589206e11653a0e9060ee7cd8c1ccd4b4fc6d7b6bd8268cf0d97a2513","url":"https://skillfed.io/files/josavicentevw/ai-agent-skills/testing/d5b54f6d/SKILL.md"}],"id":"josavicentevw/ai-agent-skills/testing","links":{"html":"https://skillfed.io/josavicentevw/ai-agent-skills/testing","md":"https://skillfed.io/josavicentevw/ai-agent-skills/testing.md","repo":"https://github.com/josavicentevw/ai-agent-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":0,"language":"Python","last_updated":"2026-02-05","license":"MIT","name":"testing","publisher":"josavicentevw","stars":1},"relations":{"similar":[{"id":"AIDotNet/MoYuCode/test-generator"},{"id":"dawiddutoit/custom-claude/java-test-generator"},{"id":"personamanagmentlayer/pcl/testing-expert"},{"id":"personamanagmentlayer/pcl/csharp-expert"},{"id":"giuseppe-trisciuoglio/developer-kit/unit-test-controller-layer"},{"id":"giuseppe-trisciuoglio/developer-kit/unit-test-service-layer"},{"id":"personamanagmentlayer/pcl/java-expert"},{"id":"LambdaTest/agent-skills/junit-5-skill"},{"id":"giuseppe-trisciuoglio/developer-kit/unit-test-application-events"},{"id":"HermeticOrmus/LibreUIUX-Claude-Code/javascript-testing-patterns"}]},"slug":{"owner":"josavicentevw","repo":"ai-agent-skills","skill":"testing"},"version":"d5b54f6d"}
