摘要:
// 直接上代码//step 1: write a simple test as the following.test("hello test", function() { ok(1 == "1", "Passed!");});//step 2: 调用test函数QUnit = { //... test : function(testName, expected, callback, async) { //... //初始化test, test = new Test({ name : name, ...
阅读全文