Loading...
Loading...
Design, implement, organize, or review layered tests for Spring (Boot) projects. Select the lowest-cost layer that proves the behavior; decide when mocks, slices, real infrastructure, Testcontainers, isolated clusters, or black-box E2E are appropriate. Do not use for generic requirement tracking or non-Spring test suites.
npx skill4agent add kingstar718/my-skills spring-testing| Layer | What It Proves | Spring/External Dependencies |
|---|---|---|
| Tier 1: Unit Tests | Pure calculations, domain rules, collaborations, and failure branches | Do not start Spring; use stubs/mocks for dependencies |
| Tier 2: Slice Tests | MVC mappings, parameter binding, serialization, and partial component wiring | Start only the target slice; stub out other dependencies |
| Tier 3: Integration Tests | Bean wiring, transactions, SQL/Redis/MQ/driver or protocol semantics | Minimum necessary context + isolated real infrastructure |
| E2E | Cross-process HTTP contracts and critical user paths in a deployed system | Black-box access to an explicitly defined test target |
corewebapicom.sf.lbs.cloud.*