TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Unit Testing 101: Are You Testing Your JavaScript?

23 点作者 reybango超过 14 年前

7 条评论

bwindels超过 14 年前
A blog post on MSDN promoting the use of google and java software (JsTestDriver) and not even mentioning visual studio, times have changed indeed.
评论 #2254747 未加载
DanielRibeiro超过 14 年前
Jasmine is also a great framework for testing. It work headless (nodejs) and on web (for those rare times you want to debug a test): <a href="http://pivotal.github.com/jasmine/" rel="nofollow">http://pivotal.github.com/jasmine/</a>
评论 #2254994 未加载
MartinCron超过 14 年前
It always annoys me when people talk about test automation (TDD, unit testing, whatever) in the context of "finding bugs".<p>Test automation is about preventing bugs.
评论 #2255920 未加载
fish2000超过 14 年前
Relatedly: what is with MSDN bloggers always referring to themselves as 'junkies'? A "script junkie" probably won't steal their mother's VCR and pawn it so they can get more scripts to stick in their arm. It's kind of a bizarre convention.
评论 #2254936 未加载
rst超过 14 年前
Another option is the test framework used for jQuery itself, QUnit: <a href="http://docs.jquery.com/Qunit" rel="nofollow">http://docs.jquery.com/Qunit</a>
评论 #2255038 未加载
mckoss超过 14 年前
Very nice summary of testing best practices - and surprisingly not Microsoft specific!
trungonnews超过 14 年前
if anyone didn't notice. that article is hosted by Microsoft.<p>since when did they develop on firebug, use open source tools, and hudson ci? and practice TDD?
评论 #2255021 未加载