CtrlK
BlogDocsLog inGet started
Tessl Logo

springboot-tdd

使用JUnit 5、Mockito、MockMvc、Testcontainers和JaCoCo进行Spring Boot的测试驱动开发。适用于添加功能、修复错误或重构时。

80

1.31x
Quality

71%

Does it follow best practices?

Impact

96%

1.31x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./docs/zh-CN/skills/springboot-tdd/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

89%

29%

Loan Eligibility Service — Unit Test Suite

TDD unit testing with Mockito

Criteria
Without this skill
With this skill

Test-first evidence

100%

100%

MockitoExtension

100%

100%

Mock + InjectMocks

50%

100%

AAA structure

50%

62%

No partial mocks

100%

100%

Explicit stubs

62%

100%

ParameterizedTest

100%

100%

AssertJ assertThat

0%

100%

assertThatThrownBy

0%

100%

Test data builder

0%

0%

verify() usage

100%

100%

100%

10%

Order Management REST API — Controller and Integration Tests

Web layer and integration testing

Criteria
Without this skill
With this skill

WebMvcTest annotation

100%

100%

MockBean for service

100%

100%

MockMvc injection

100%

100%

MockMvc perform

100%

100%

jsonPath assertions

100%

100%

SpringBootTest annotation

100%

100%

AutoConfigureMockMvc

100%

100%

ActiveProfiles test

0%

100%

Status matchers

100%

100%

Separate test classes

100%

100%

AssertJ or jsonPath only

100%

100%

100%

30%

Product Catalog — Repository Testing and Coverage Setup

Persistence testing with Testcontainers and JaCoCo

Criteria
Without this skill
With this skill

DataJpaTest annotation

100%

100%

No DB replacement

100%

100%

Import TestContainersConfig

100%

100%

TestContainersConfig class

100%

100%

Reusable container

0%

100%

DynamicPropertySource

0%

100%

JaCoCo plugin declared

100%

100%

JaCoCo version 0.8.14

0%

100%

JaCoCo prepare-agent goal

100%

100%

JaCoCo report at verify

100%

100%

AssertJ in repo tests

100%

100%

Repository
affaan-m/ECC
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.