Merge more testing coverage from henrikingo fork

* core_tests.js and navigation_tests.js have more tests
* qunit_test_runner.html runs QUnit in a browser (without karma) and
  provides a generic iframe based platform to test different  presentations.
* copy qunit.js and syn.js into the repo. This allows qunit_test_runner.html
  to work without any dependency on node/npm. (Karma obviously does need them.)
* Move jscs cli option to .jscsrc instead
This commit is contained in:
Henrik Ingo
2017-09-16 13:08:51 +03:00
parent 0b4bd08f44
commit 7aaea7fd37
12 changed files with 7511 additions and 156 deletions

26
qunit_test_runner.html Normal file
View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<!--
Copyright 2016 Henrik Ingo (@henrikingo)
Released under the MIT license. See LICENSE file.
-->
<html>
<head>
<meta charset="utf-8">
<title>QUnit tests for impress.js</title>
<link rel="stylesheet" href="test/qunit/qunit.css">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="test/qunit/qunit.js"></script>
<!-- The QUnit tests. -->
<script src="test/helpers.js"></script>
<!-- Core tests -->
<script src="test/core_tests.js"></script>
<!-- Plugins -->
<script src="test/navigation_tests.js"></script>
</body>
</html>