Add claude-code-spring module: CLAUDE.md, a path-scoped rule, two skills, four hooks run against real hook JSON, project .mcp.json from the claude mcp CLI, and tests that lint the setup on Spring Boot 4.2.0
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b86yyhhudsSLnwNUFY
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
a620d91d0a
commit
3aa20a1dce
@@ -0,0 +1,10 @@
|
||||
---
|
||||
paths:
|
||||
- "src/test/**/*.java"
|
||||
---
|
||||
|
||||
# Test rules
|
||||
- JUnit 6 and AssertJ. Static-import `assertThat`.
|
||||
- Name tests as sentences: `tenUnitsGetTenPercentOff`, not `testDiscount`.
|
||||
- Unit-test services without Spring. Use `@SpringBootTest` only for controller wiring.
|
||||
- One behaviour per test. No logic (loops, ifs) inside a test.
|
||||
Reference in New Issue
Block a user