From 32c02bf9771a5874f360b0a9a6050e2135601c49 Mon Sep 17 00:00:00 2001 From: Antoine Rey Date: Fri, 15 Aug 2025 01:18:19 +0200 Subject: [PATCH] CalculatorTest without s (#185) Align example with the Test suffix --- prompts/java-junit.prompt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prompts/java-junit.prompt.md b/prompts/java-junit.prompt.md index 5fd1a4b..e16129b 100644 --- a/prompts/java-junit.prompt.md +++ b/prompts/java-junit.prompt.md @@ -17,7 +17,7 @@ Your goal is to help me write effective unit tests with JUnit 5, covering both s ## Test Structure -- Test classes should have a `Test` suffix, e.g., `CalculatorTests` for a `Calculator` class. +- Test classes should have a `Test` suffix, e.g., `CalculatorTest` for a `Calculator` class. - Use `@Test` for test methods. - Follow the Arrange-Act-Assert (AAA) pattern. - Name tests using a descriptive convention, like `methodName_should_expectedBehavior_when_scenario`.