From b7815abc422857d21f1d14d6a21ae4a4fa7f0f71 Mon Sep 17 00:00:00 2001 From: Yuya Ebihara Date: Fri, 12 Jun 2026 11:46:49 +0900 Subject: [PATCH] Docs: Add guidelines for tests --- site/docs/contribute.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/site/docs/contribute.md b/site/docs/contribute.md index 27dd31ff4bf5..93650ea79c21 100644 --- a/site/docs/contribute.md +++ b/site/docs/contribute.md @@ -478,6 +478,12 @@ This helps separate logical sections of the code, making it easier to read and d ## Testing +### Conventions and recommendations + +- Test class names must start with `Test`, for example `TestExample`. +- Recommend omitting the `public` modifier for test classes, test methods, and lifecycle methods. +- Recommend omitting the `test` prefix for test methods. + ### AssertJ Prefer using [AssertJ](https://github.com/assertj/assertj) assertions as those provide a rich and intuitive set of strongly-typed assertions.