Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b86yyhhudsSLnwNUFY
330 B
330 B
paths
| paths | |
|---|---|
|
Test rules
- JUnit 6 and AssertJ. Static-import
assertThat. - Name tests as sentences:
tenUnitsGetTenPercentOff, nottestDiscount. - Unit-test services without Spring. Use
@SpringBootTestonly for controller wiring. - One behaviour per test. No logic (loops, ifs) inside a test.