开发者

What are the advantages of testing your Javascript with Jasmine - a BDD approach? [closed]

开发者 https://www.devze.com 2023-03-25 22:18 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. 开发者_JAVA百科 Closed 10 years ago.

What are the advantages of using Jasmine to test your Javascript?

How does it differ from traditional testing of JavaScript?


If you google it, you can find plenty of articles about BDD and Jasmine. I recently read some good articles about BDD and Jasmine. These will explain what you want to know.

  1. Introducing BDD http://dannorth.net/introducing-bdd/
  2. Pragmatic JavaScript Testing with Jasmine http://blog.carbonfive.com/2011/07/06/pragmatic-javascript-testing-with-jasmine/

And the Wikipedia also has good explanations about BDD.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号