ç§ãRSpec使ã£ã¦ãã¹ãæ¸ãæã¯ãããªæãã§æ¸ãã¦ãããã£ã¦ã®ãæ¸ãã¦ã¿ãã*1 ãã¹ããæ¸ãé çªã«ã¤ã㦠TDDã§ã³ã¼ããæ¸ãå ´åãå
ã«ãã¹ããæ¸ãäºã«ãªãã¾ãã ããã¦ããã®ãã¹ããæ¸ãé çªã§ãããç§ã¯ä¸è¨ã®ãããªé çªã§æ¸ãããã«æèãã¦ãã¾ãã è¨è¨ãã describe ãæ¸ã itãæ¸ã subjectãæ確ã«ãã before(context)ãæ確ã«ãã ãã®ä»ã«ãæ°ãã¤ãã¦ããç¹ã¯ãããªæã å¥ã®ã¡ã½ããå¼ã¶æã¯åºæ¬çã«stubãªã©ã§æ½°ã contextã¯ããã®å ´åããit ã¯ããã§ãããã¨ãã«ãªãããã«ãã ä¸ã¤ãã¤ã詳細ãæ¸ãã¾ãã è¨è¨ãã ãã¹ããæ¸ãå§ããåã«ãã¾ãå®è£
ãããã¨ãã¦ãã¯ã©ã¹ãã¡ã½ãããç°¡åã«è¨è¨ãã¾ãã å°ãªãã¨ãããã¯ã©ã¹åããã¯ã©ã¹ã¡ã½ãã or ã¤ã³ã¹ã¿ã³ã¹ã¡ã½ããããã¡ã½ããåããã¡ã½ããã®æ»ãå¤ããããã¯æ±ºãã¾ãã describe ã
{{#tags}}- {{label}}
{{/tags}}