V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
sivacohan
V2EX  ›  JavaScript

你们写js的时候写单元测试吗?如果写……你们都使用什么组建进行测试?

  •  
  •   sivacohan · 2013-07-15 17:30:22 +08:00 · 3004 次点击
    这是一个创建于 3944 天前的主题,其中的信息可能已经有所发展或是发生改变。
    2 条回复    1970-01-01 08:00:00 +08:00
    micyng
        1
    micyng  
       2013-07-15 18:16:55 +08:00
    写!
    用pyspidermonkey载入js,然后python写用例,有一些类型需要转换,不过也是一劳永逸的事儿
    finian
        2
    finian  
       2013-07-16 02:37:27 +08:00
    mocha+chai+sinon
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2322 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 08:12 · PVG 16:12 · LAX 01:12 · JFK 04:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.