{"id":1594,"date":"2005-10-26T13:26:00","date_gmt":"2005-10-26T13:26:00","guid":{"rendered":"http:\/\/t.motd.kr\/articles\/1594\/junit-4"},"modified":"2022-12-28T01:47:56","modified_gmt":"2022-12-27T16:47:56","slug":"junit-4-%ec%9d%98-%ec%83%88%eb%a1%9c%ec%9a%b4-%ea%b8%b0%eb%8a%a5","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/1594\/junit-4-%ec%9d%98-%ec%83%88%eb%a1%9c%ec%9a%b4-%ea%b8%b0%eb%8a%a5\/","title":{"rendered":"JUnit 4 \uc758 \uc0c8\ub85c\uc6b4 \uae30\ub2a5"},"content":{"rendered":"
IBM developerWorks<\/a>\uc5d0\uc11c \ud604\uc7ac \uac1c\ubc1c\uc911\uc778 JUnit 4 \uc758 \uc0c8\ub85c\uc6b4 \uae30\ub2a5\ub4e4\uc744 \uc77c\ubaa9 \uc694\uc5f0\ud558\uac8c \uc18c\uac1c\ud558\uace0 \uc788\uc5b4 \uc815\ub9ac\ud574 \ubcf4\uc558\uc2b5\ub2c8\ub2e4.<\/p>\n October 26, 2005 at 5:05 pm October 26, 2005 at 11:56 pm October 27, 2005 at 8:47 am October 27, 2005 at 8:47 am October 28, 2005 at 12:30 am October 28, 2005 at 9:02 am October 28, 2005 at 9:03 am October 28, 2005 at 10:46 am January 31, 2006 at 11:10 pm February 1, 2006 at 10:52 pm IBM developerWorks\uc5d0\uc11c \ud604\uc7ac \uac1c\ubc1c\uc911\uc778 JUnit 4 \uc758 \uc0c8\ub85c\uc6b4 \uae30\ub2a5\ub4e4\uc744 \uc77c\ubaa9 \uc694\uc5f0\ud558\uac8c \uc18c\uac1c\ud558\uace0 \uc788\uc5b4 \uc815\ub9ac\ud574 \ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ud14c\uc2a4\ud2b8 \uba54\uc18c\ub4dc \uc774\ub984 \uaddc\uc57d \ub300\uc2e0 @Test @Test(timeout=500) @Test(expected=ArithmeticException.class) setUp()\uacfc tearDown()\uc740 @Before\uc640 @After\ub85c \ubcc0\uacbd \ud14c\uc2a4\ud2b8 \ud074\ub798\uc2a4 \uc804\uccb4\uc5d0 \ub300\ud55c \uc804\ud6c4 \ucc98\ub9ac\ub97c \uc704\ud55c @BeforeClass\uc640 @AfterClass \ud14c\uc2a4\ud2b8 \uba54\uc18c\ub4dc\ub97c \uc784\uc2dc\ub85c \ubb34\uc2dc\ud560 \uc218 \uc788\ub294 @Ignore \ud14c\uc2a4\ud2b8 \ud074\ub798\uc2a4\ub294TestCase \ud074\ub798\uc2a4\ub97c \uc0c1\uc18d\ud560 \ud544\uc694\uac00 \uc5c6\uc74c 10 Comments \uc11c\ubbfc\uad6c said, October… Continue reading \n
@Test<\/code>\n
\n
@Test(timeout=500)<\/code><\/li>\n
@Test(expected=ArithmeticException.class)<\/code><\/li>\n<\/ul>\n<\/li>\n
setUp()<\/code>\uacfc
tearDown()<\/code>\uc740
@Before<\/code>\uc640
@After<\/code>\ub85c \ubcc0\uacbd<\/li>\n
@BeforeClass<\/code>\uc640
@AfterClass<\/code><\/li>\n
@Ignore<\/code><\/li>\n
TestCase<\/code> \ud074\ub798\uc2a4\ub97c \uc0c1\uc18d\ud560 \ud544\uc694\uac00 \uc5c6\uc74c<\/li>\n<\/ul>\n
10 Comments<\/h3>\n
\n
\uc11c\ubbfc\uad6c said,<\/h4>\n
\n\uc544 \uc88b\ub124\uc694. \ud0c0\uc784\uc544\uc6c3 \uc7a1\uae30, \uc775\uc149\uc158 \ud655\uc778 \ub4f1.
\n\uae30\ub300\ub429\ub2c8\ub2e4.<\/li>\n\uc601\ud68c said,<\/h4>\n
\n\uc804\ubc18\uc801\uc73c\ub85c TestNG \ub791 \uc720\uc0ac\ud55c \uc218\uc900\uc774\uad70\uc694.
\n\ubb3c\ub860 \uad6c\uccb4\uc801\uc73c\ub85c \ubcf4\uba74 \ucc28\uc774\uc810\uc774 \uc788\uaca0\uc9c0\ub9cc..^^<\/li>\nTrustin Lee said,<\/h4>\n
\n\uc544\uc9c1 stable release \uac00 \uc548\ub098\uc640\uc11c.. \uace7 \ub098\uc624\uaca0\uc8e0? ^^<\/li>\nTrustin Lee said,<\/h4>\n
\n\ub124 \uc720\uc0ac\ud558\uc8e0. \uadf8\ub0e5 TestNG \ub9cc\ub4e4\uc9c0 \ub9d0\uace0 JUnit \uc0ac\ub78c\ub4e4\uc774\ub791 \ud798\uc744 \ud569\ucce4\uc73c\uba74 \uc88b\uc558\uc744\ud150\ub370 \ub9d0\uc785\ub2c8\ub2e4;<\/li>\nPassion is like genius; a miracle. said,<\/h4>\n
\nJUnit 4<\/strong>
\n[quote] IBM developerWorks \uc5d0\uc11c \ud604\uc7ac \uac1c\ubc1c\uc911\uc778 JUnit 4 \uc758 \uc0c8\ub85c\uc6b4 \uae30\ub2a5\ub4e4\uc744 \uc77c\ubaa9 \uc694\uc5f0\ud558\uac8c \uc18c\uac1c\ud558\uace0 \uc788\uc5b4 \uc815\ub9ac\ud574 \ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ud14c\uc2a4\ud2b8 \uba54\uc18c\ub4dc \uc774\ub984 \uaddc\uc57d \ub300\uc2e0 @Test @Test(timeout=500) @Test(expected=ArithmeticExcep\u2026<\/li>\n\ub300\ud55c\ubbfc\uad6d \ub300\ud45c \uac1c\ubc1c\uc790 [\uc9f1\uac00\u2122] said,<\/h4>\n
\n[Test]JUnit 4<\/strong>
\n\ucd9c\ucc98 : http:\/\/t.motd.kr\/ko\/archives\/1594
\nIBM developerWorks \uc5d0\uc11c \ud604\uc7ac \uac1c\ubc1c\uc911\uc778 JUnit 4 \uc758 \uc0c8\ub85c\uc6b4 \uae30\ub2a5\ub4e4\uc744 \uc77c\ubaa9 \uc694\uc5f0\ud558\uac8c \uc18c\uac1c\ud558\uace0 \uc788\uc5b4 \uc815\ub9ac\ud574 \ubcf4\uc558\uc2b5\ub2c8\ub2e4.
\n* \ud14c\uc2a4\ud2b8 \uba54\uc18c\ub4dc \uc774\ub984 \uaddc\uc57d \ub300\uc2e0 @Test
\n* @Test(timeout=500)
\n* @Test(expected=ArithmeticException.class)
\n* setUp()\uacfc tearDown()\uc740 @Before\uc640 @After\ub85c \ubcc0\uacbd
\n* \ud14c\uc2a4\ud2b8 \ud074\ub798\uc2a4 \uc804\uccb4\uc5d0 \ub300\ud55c \uc804\ud6c4 \ucc98\ub9ac\ub97c \uc704\ud55c @BeforeClass\uc640 @AfterClass
\n* \ud14c\uc2a4\ud2b8 \uba54\uc18c\ub4dc\ub97c \uc784\uc2dc\ub85c \ubb34\uc2dc\ud560 \uc218 \uc788\ub294 @Ignore
\n* \ud14c\uc2a4\ud2b8 \ud074\ub798\uc2a4\ub294TestCase \ud074\ub798\uc2a4\ub97c \uc0c1\uc18d\ud560 \ud544\uc694\uac00 \uc5c6\uc74c
\n\uc601\ud68c\ub2d8, \uc774\ud76c\uc2b9\ub2d8 \ub9d0\ub300\ub85c\u2026 TestNG\uc640 \ub9e4\uc6b0 \uc720\uc0ac\ud558\ub2e4\ub294\u2026<\/li>\n\uc9f1\uac00 said,<\/h4>\n
\n\ud2b8\ub799\ubc31 \ub0a0\ub9ac\ub2c8..
\n\uae00\uc528\uac00 \uae68\uc838\ubc84\ub9ac\ub124\uc694\u2026 ^^<\/li>\nTrustin Lee said,<\/h4>\n
\n\ub124\uc774\ubc84 \ube14\ub85c\uadf8\uac00 UTF8 \uc744 \uc548 \uc368\uc11c \uadf8\ub807\uc2b5\ub2c8\ub2e4. UTF8 \uc548\uc4f0\ub354\ub77c\ub3c4 \ud2b8\ub799\ubc31\uc740 UTF8 \uc744 \uc368 \uc918\uc57c \ud558\ub294\ub370 \ub9d0\uc785\ub2c8\ub2e4.<\/li>\nologist said,<\/h4>\n
\n\uc624..\uae30\ub300\uac00 \ub429\ub2c8\ub2e4\u2026Junit\uc5d0\ub3c4 AOP\uc758 \uc2dc\uc791\uc778\uac00\uc694..\u314e\u314e<\/li>\nTrustin Lee said,<\/h4>\n
\nAOP \ub77c\uba74 AOP \ub77c\uace0\ub3c4 \ud560 \uc218 \uc788\uaca0\ub124\uc694. \ud558\uc9c0\ub9cc AOP \ub77c\ub294 \ub9d0\uc774 \uc788\uae30 \uc804\ubd80\ud130 AOP \ub294 \uc874\uc7ac\ud588\ub2e4\ub294 \uac83\uc744 \uac10\uc548\ud558\uba74 \uadf8\ub807\uac8c \uc0c8\ub85c\uc6b8 \uac83\ub3c4 \uc5c6\ub2f5\ub2c8\ub2e4. Annotation \ub3c4 \ub9c8\ucc2c\uac00\uc9c0\uace0\u2026<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"