Skip to content

Commit 32c02bf

Browse files
authored
CalculatorTest without s (#185)
Align example with the Test suffix
1 parent 244176e commit 32c02bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prompts/java-junit.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Your goal is to help me write effective unit tests with JUnit 5, covering both s
1717

1818
## Test Structure
1919

20-
- Test classes should have a `Test` suffix, e.g., `CalculatorTests` for a `Calculator` class.
20+
- Test classes should have a `Test` suffix, e.g., `CalculatorTest` for a `Calculator` class.
2121
- Use `@Test` for test methods.
2222
- Follow the Arrange-Act-Assert (AAA) pattern.
2323
- Name tests using a descriptive convention, like `methodName_should_expectedBehavior_when_scenario`.

0 commit comments

Comments
 (0)