diff --git a/AGENTS.md b/AGENTS.md index e6c771d4b482..ada467efa4ce 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -139,7 +139,8 @@ The `api/` module has the strongest stability guarantees — breaking changes ar - Test classes and methods should be package private unless required by inheritance. - Compute expected values, don't hardcode. Tests belong in the module that owns the code. - Write the most direct test for the bug. Parameterized tests for type variations. -- JUnit 5 + AssertJ: `@Test` (no `test` prefix), `assertThat`, `assertThatThrownBy`. +- JUnit 5 + AssertJ: `@Test`, `assertThat`, `assertThatThrownBy`. +- Avoid using `test` prefixes for newly added tests. - `waitUntilAfter` for time-dependent tests. Separate tests over combined. ### REST / OpenAPI Spec