We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b10012 commit 18ae320Copy full SHA for 18ae320
junit5/src/main/java/io/mincong/junit5/StringConcatenationChatBot.java
@@ -6,4 +6,14 @@ public class StringConcatenationChatBot implements ChatBot {
6
public String sayHello(String username) {
7
return "Hello, " + username;
8
}
9
+
10
+ /**
11
+ * In IntelliJ IDEA, run ChatBotTest with coverage and observe the test coverage here. You can see
12
+ * that this test is not tested. One advantage of using parameterized testing is that it can
13
+ * increase the test coverage easily with difference scenarios.
14
+ */
15
+ @SuppressWarnings("unused")
16
+ public String sayNo(String username) {
17
+ return "No, " + username;
18
+ }
19
0 commit comments