我已经看到很多链接试图解释,但我正在寻找的是如何设置我的测试工具和单元测试。到目前为止,我有一个HTML文件:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>EmberJS Testing</title>
<link rel="stylesheet"
href="scripts/bower_components/qunit/qunit/qunit.css">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script type="text/javascript" src="scripts/bower_components/qunit/qunit/qunit.js"></script>
<script type="text/javascript" src="scripts/bower_components/jquery/jquery.min.js"></script>
<script type="text/javascript"
src="scripts/bower_components/handlebars/handlebars.js"></script>
<script type="text/javascript"
src="scripts/bower_components/ember/ember.min.js"></script>
</body>
</html>
但我不确定如何进一步将测试纳入其中。