Javaで書いたこういうTestNGのテストがある。 import static org.testng.Assert.assertEquals; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; public class TestNGSample { private Target target; @Test public void verifyAdd1() { System.out.println("★★★verifyAdd1()を呼び出した★★★"); int result = target.add(1, 2); assertEquals(result, 3); } @BeforeMethod public void init() { System.out.println("★★