Groovy ã® BDDãã¼ã« spock ã«ããã Mock ã®ä½¿ãæ¹ãç°¡åã«ãç´¹ä»ãã¾ããspock ã® Mock ã¯å®ç¾©ãç°¡åãªã®ã§å人çã«ã¯ããªãæç¨ã ã¨èãã¦ãã¾ãã ä¾ãã°ã以ä¸ã®ãããªè¨è¿°ã§ã¢ãã¯ã®å¦çå 容ãå®ç¾©ã§ãã¾ããï¼å®è¡åæ°ã¨æ»ãå¤ã®çµã¿åãããå¯ï¼ æ»ãå¤ã®ç®æã§ã¯ã¯ãã¼ã¸ã£ã使ã£ã¦ä¾å¤ã®çºçãªã©ãè¡ãäºãå¯è½ã§ãã ã¢ãã¯ã®å®ç¾©ä¾ ã¢ãã¯ãªãã¸ã§ã¯ãå.ã¡ã½ããå(å¼æ°ã®å¶ç´, ã»ã»ã») >> æ»ãå¤ ã¢ãã¯ãªãã¸ã§ã¯ãå.ã¡ã½ããå(å¼æ°ã®å¶ç´, ã»ã»ã») >>> [æ»ãå¤1åç®, æ»ãå¤2åç®, ã»ã»ã»] å®è¡åæ° * ã¢ãã¯ãªãã¸ã§ã¯ãå.ã¡ã½ããå(å¼æ°ã®å¶ç´, ã»ã»ã») ãªããå¼æ°ã®å¶ç´ã§ã¯ä»¥ä¸ã®ãããªè¨è¿°ãå¯è½ã§ãã å¼æ°ã®å¶ç´ä¾ ã¢ãã¯ãªãã¸ã§ã¯ãå.ã¡ã½ããå() //å¼æ°ãªã ã¢ãã¯ãªãã¸ã§ã¯ãå.ã¡ã½ããå(_) //ä½ã§ããã ã¢ãã¯ãªãã¸ã§
{{#tags}}- {{label}}
{{/tags}}