设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

QUnit 1.16发布,附发布计划

2014-12-11 14:56| 发布者: joejoe0332| 查看: 685| 评论: 0|原作者: oschina|来自: oschina

摘要:   QUnit是jQuery的单元测试框架。  QUnit 1.16 发布,此版本是个重要的版本,引入了一些新 APIs,默认在 QUnit 2.0 使用。新 APIs 概览:?12345678QUnit.test("assert.async()test",function(assert){vardone=as ...

  QUnit是jQuery的单元测试框架。


  QUnit 1.16 发布,此版本是个重要的版本,引入了一些新 APIs,默认在 QUnit 2.0 使用。


新 APIs 概览:

1
2
3
4
5
6
7
8
QUnit.test( "assert.async() test"function( assert ) {
  var done = assert.async();
  var input = $( "#test-input" ).focus();
  setTimeout(function() {
    assert.equal( document.activeElement, input[0], "Input was focused" );
    done();
  });
});


  此外,QUnit 1.16 包括一些新特性和改进:


发布计划

后续版本改进计划:

  • Standardized reporter interface

  • Better diff output

  • Better support for writing custom assertions

  • Support for nested modules


QUnit 团队

从左往右: Jörn Zaefferer, Timo “Krinkle” Tijhof, James M. Greene, and Leonardo Balter


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部