jQuery模拟测试框架 jqMock

码农软件 · 软件分类 · 单元测试工具 · 2019-11-19 20:56:39

软件介绍

jqMock 是一个轻量级的 JavaScript 模拟测试框架,基于 jqUnit 单元测试框架。

模拟测试代码:

jqUnit.test('hello world test', function() {
    var alertMock = new jqMock.Mock(window, 'alert');
    alertMock.modify().args('hello world!').multiplicity(2).returnValue();
    hello();
    hello();
    alertMock.verify();
    alertMock.restore();
});

 

本文地址:https://www.codercto.com/soft/d/19360.html

Open Data Structures

Open Data Structures

Pat Morin / AU Press / 2013-6 / USD 29.66

Offered as an introduction to the field of data structures and algorithms, Open Data Structures covers the implementation and analysis of data structures for sequences (lists), queues, priority queues......一起来看看 《Open Data Structures》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具