<!DOCTYPE html>
<html>
<head>
<title>qUnit basic example</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<link type="text/css" rel="stylesheet" href="http://jqueryjs.googlecode.com/svn-history/r6606/trunk/jquery/test/data/testsuite.css"/>
<script src="http://jqueryjs.googlecode.com/svn-history/r5920/trunk/qunit/testrunner.js"></script>
<script>
test("a basic test example",function(){
ok(true,"This test is fine");
var value="hello";
equals(value,"hello","We expect value to be hello");
});
test("222222222",function(){
ok(true,"This t fine");
var value="hello";
equals(value,"hllo","We eaaaaaaaavalue to be hello");
});
</script>
</head>
<body>
<div id="main"></div>
</body>
</html>
这是我上面的标记。如果您复制并粘贴它,您将主要查看测试的结果..但是它们是捆绑在一起的,即它显示了测试总数与假货总数的比较。我需要查看断言失败的位置,以及每次测试失败的总成功次数。我怎样才能做到这一点?