{"enrichment":{"faq":[{"a":"springboot-tdd teaches test-driven development for Spring Boot services targeting 80%+ code coverage. It covers the complete TDD cycle\u2014writing failing tests first, implementing minimal code to pass, refactoring safely, and enforcing coverage with JaCoCo. You'll learn unit testing with JUnit 5 and Mockito, web layer testing with MockMvc, integration testing with SpringBootTest, and persistence layer testing with DataJpaTest and Testcontainers.","q":"What is the springboot-tdd skill's core focus?"},{"a":"springboot-tdd covers the full TDD workflow for Spring Boot with JUnit 5 as its primary testing framework. You'll master writing failing tests first, implementing minimal code to pass them, and refactoring safely. The skill emphasizes best practices for TDD workflow and includes parameterized tests, custom assertions with AssertJ, and test isolation to ensure deterministic, repeatable test suites.","q":"How do I learn spring boot test driven development junit 5?"},{"a":"springboot-tdd teaches MockMvc for web layer testing and Mockito for mocking dependencies. You'll learn to mock Spring beans, isolate controllers from services, and verify interactions. The skill covers both unit-level mocking and integration-level testing patterns, helping you write fast, focused tests that validate API behavior without requiring a full application context.","q":"How can springboot-tdd help with mockito mock mvc testing?"},{"a":"springboot-tdd includes setting up and enforcing code coverage targets using JaCoCo. You'll configure JaCoCo as a Maven or Gradle plugin, define coverage thresholds targeting 80%+, and integrate coverage checks into your CI/CD pipeline. The skill teaches how to measure coverage across unit, integration, and end-to-end tests to ensure meaningful coverage metrics.","q":"What does springboot-tdd cover for code coverage enforcement?"},{"a":"Yes, springboot-tdd covers unit testing for repositories using DataJpaTest and Testcontainers for real database instances. You'll learn to test service layers with mocked repositories, write integration tests that validate end-to-end flows, and use the data builder pattern for test fixture creation. The skill ensures your persistence and business logic layers are thoroughly tested.","q":"Can springboot-tdd help me test repositories and services?"},{"a":"springboot-tdd teaches how to refactor Spring Boot code safely by establishing comprehensive test coverage first. With a solid test suite in place, you can confidently refactor implementation details while verifying behavior remains unchanged. The skill emphasizes test-driven refactoring as a best practice for maintaining code quality and preventing regressions during improvements.","q":"How does springboot-tdd support refactoring existing code safely?"}],"shadow_tags":["test-automation","code-coverage-metrics","mock-testing","containerized-testing","assertion-frameworks","ci-cd-integration","test-data-builders","behavior-verification"],"summary_rewrite":"Master test-driven development for Spring Boot services targeting 80%+ code coverage. This skill covers the complete TDD cycle\u2014writing failing tests first, implementing minimal code to pass, refactoring safely, and enforcing coverage with JaCoCo. Learn unit testing with JUnit 5 and Mockito, web layer testing with MockMvc, integration testing with SpringBootTest, and persistence layer testing with DataJpaTest and Testcontainers."},"files":[{"bytes":3937,"path":"skills/springboot-tdd/SKILL.md","sha256":"2c306dda3a7cd3ae609c4d0896bfcf6d348f7a53dba24537434b93bb4d2745e1","url":"https://skillfed.io/files/xu-xiang/everything-claude-code-zh/springboot-tdd/6118ead7/SKILL.md"}],"id":"xu-xiang/everything-claude-code-zh/springboot-tdd","links":{"html":"https://skillfed.io/xu-xiang/everything-claude-code-zh/springboot-tdd","md":"https://skillfed.io/xu-xiang/everything-claude-code-zh/springboot-tdd.md","repo":"https://github.com/xu-xiang/everything-claude-code-zh"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":298,"language":"JavaScript","last_updated":"2026-03-05","license":"MIT","name":"springboot-tdd","publisher":"xu-xiang","stars":1767},"relations":{"similar":[{"id":"affaan-m/ECC/springboot-tdd"},{"id":"xu-xiang/everything-claude-code-zh/springboot-patterns"},{"id":"affaan-m/ECC/springboot-patterns"},{"id":"xu-xiang/everything-claude-code-zh/springboot-verification"},{"id":"pluginagentmarketplace/custom-plugin-java/java-testing"},{"id":"affaan-m/ECC/springboot-verification"},{"id":"affaan-m/ECC/java-coding-standards"},{"id":"giuseppe-trisciuoglio/developer-kit/spring-boot-test-patterns"},{"id":"Jeffallan/claude-skills/spring-boot-engineer"},{"id":"bobmatnyc/claude-mpm-skills/spring-boot"}]},"slug":{"owner":"xu-xiang","repo":"everything-claude-code-zh","skill":"springboot-tdd"},"version":"6118ead7"}
