TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Unit Testing 101: Are You Testing Your JavaScript?

23 pointsby reybangoabout 14 years ago

7 comments

bwindelsabout 14 years ago
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 未加载
DanielRibeiroabout 14 years ago
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 未加载
MartinCronabout 14 years ago
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 未加载
fish2000about 14 years ago
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 未加载
rstabout 14 years ago
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 未加载
mckossabout 14 years ago
Very nice summary of testing best practices - and surprisingly not Microsoft specific!
trungonnewsabout 14 years ago
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 未加载