以åã®ããã°ã§ããã¹ãããã¶ã¤ã³ã®æ段ã¨ãã¦æãããTDD(Test Driven Development)ã®çºå±ã¨ãã¦ãBDD(Behavior Driven Development)ã«ã¤ãã¦ç´¹ä»ãããè¦ã¯ããã¹ãã«ã¾ã¤ããããã£ãã©ãªãããä»æ§å¨è¾ºã®ããã£ãã©ãªã«å¤æ´ãããã¨ããçã¾ãããæ°ããéçºã®æãæ¹ã ãä¾ãã°ãStackãçææã«ç©ºã§ããã¨ããä»æ§ãããã表ç¾ããã shouldBeEmpty() { Stack stack = new Stack(); Verify.that(stack.isEmpty); } 以åã®ãtest, assert ã¨ããããã£ãã©ãªã§ã¯ãªããshould, verify ã¨ããããã£ãã©ãªã¸ã®è»¢åã ãã®BDDã®æ¬ã«é¢ãããå
è¡å訳ã®è©¦ã¿ããæ¸ç°ãããå§ããï¼http://log.giantech.jp/BDDIntro-ja.html è¦ãã§
{{#tags}}- {{label}}
{{/tags}}