JUnitã¨ã¯ï¼ â Javaç¨ã®åä½ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã JUnitã®ãããªãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ãæ´»ç¨ãããã¨ã§ã次ã®ã¡ãªãããããã ãã¹ããçµ±ä¸ãªæ¹æ³ã§ä½æã§ãã â ä»äººãè¦ã¦ãåããããã ãã¹ããç°¡åã«ã§ãã ã¾ããåä½ãã¹ãã³ã¼ããããã°ãä»æ§å¤æ´æã®ãã°ã¬ã¼ããæ©ã段éã§çºè¦ãããã¨ãã§ããã â JUnit3ã¨ã®éãã¯ï¼ â ãjunit.framework.TestCaseãã¯ã©ã¹ãç¶æ¿ããªãã¦ãããã ãã¹ãã¡ã½ããã®ãã¬ãã£ãã¯ã¹ã«ãtestãã®å¿ è¦ããªãã ãã¹ãã¯ã©ã¹åå¾ã«è¡ãå¦çãæå®ã§ããããã«ãªã£ãã(@BeforeClassã@AfterClass) ä¾å¤æ¤è¨¼ã®ã½ã¼ã¹ã®è¨è¿°ãç°¡åã«ãªã£ãã(@Test(expected=XXXXException.class)) ããã©ã¼ãã³ã¹ã®æ¤è¨¼ãã§ããããã«ãªã£ãã(@Test(timeout=1500))
{{#tags}}- {{label}}
{{/tags}}