mirror of
https://github.com/Dannecron/netology-devops-teamcity-example.git
synced 2025-12-25 23:32:35 +03:00
add test decorator
This commit is contained in:
@@ -13,9 +13,11 @@ public class WelcomerTest {
|
||||
public void welcomerSaysWelcome() {
|
||||
assertThat(welcomer.sayWelcome(), containsString("Welcome"));
|
||||
}
|
||||
@Test
|
||||
public void welcomerSaysFarewell() {
|
||||
assertThat(welcomer.sayFarewell(), containsString("Farewell"));
|
||||
}
|
||||
@Test
|
||||
public void welcomerSaysHunter() {
|
||||
assertThat(welcomer.sayWelcome(), containsString("hunter"));
|
||||
assertThat(welcomer.sayFarewell(), containsString("hunter"));
|
||||
|
||||
Reference in New Issue
Block a user