From f47401c01573ed5cda31b13e5488abc63177378f Mon Sep 17 00:00:00 2001 From: Antoine Rey Date: Thu, 14 Aug 2025 10:20:17 +0200 Subject: [PATCH] CalculatorTest without s 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`.