1
我見過很多試圖解釋的鏈接,但我正在尋找的是如何設置我的測試工具和單元測試。到目前爲止,我有一個HTML文件:如何用Ember.js編寫單元測試套件?
<!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>
但我不確定如何進一步將測試納入此。