RSpec ã«ã¤ãã¦ã®è°è«ã§ power-assert ãªããã®ãç¥ã£ãã®ã§CoffeeScript + power-assert + ï¼Karmaï¼ã®ç°å¢ãä½ã£ã¦ã¿ã¾ããã power-assertã¨ã¯ TDD(ãã¹ãé§åéçº)ã§ããªãã¿ã®@t_wadaããä½ã®ãNode.js assertæ¡å¼µãã§ã ã¢ãµã¼ã·ã§ã³ã¯3ã¤è¦ããã°OKï¼ ææªãassert()ã ãã§ããªãã¨ããªãæ°ããã aseert() assert.deepEqual() asset.notDeepEqual() ç´ æµãªãã¹ã失ææã®ã㰠失æã®åå ãããããããã ãã¹ãã®å®è¡åã«ãã¹ãã³ã¼ããpower-assertç¨ã®ã³ã¼ãã«å¤æãããã¨ã§ããã®ç´ æµãªåºåãå¯è½ã«ãªãããã§ãã assert(this.target.getFizzBuzzStr(3) === "2") | | | | "Fizz" false F
{{#tags}}- {{label}}
{{/tags}}