Get started with qunit CDN
MIT licensed
QUnit: Simple, modular JS unit testing framework.
Tags:- framework
- toolkit
- popular
- unit tests
Stable version
Copied!
How to start using qunit CDN
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="QUnit Test Example">
<script src="https://cdn.cdnhub.io/qunit/2.20.1/qunit.min.js"></script>
<title>Get started with qunit CDN - cdnhub.io</title>
<style>
#qunit-fixture { width: 960px; margin: 0 auto; }
</style>
</head>
<body>
<div id="qunit-fixture">
<div id="qunit"></div>
<div id="qunit-test-runner-logs"></div>
</div>
<script>
QUnit.config.autostart = false;
QUnit.test("Simple QUnit Test", function(assert) {
assert.equal(1 + 1, 2, "One plus one equals two");
});
document.addEventListener("DOMContentLoaded", function() {
QUnit.start();
});
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
All versions
1.0.0
1.1.0
1.10.0
1.11.0
1.12.0
1.12.0-pre
1.13.0
1.14.0
1.15.0
1.16.0
1.17.0
1.17.1
1.18.0
1.19.0
1.2.0
1.20.0
1.21.0
1.22.0
1.23.0
1.23.1
1.5.0
1.9.0
2.0.0
2.0.0-rc1
2.0.1
2.1.0
2.1.1
2.10.0
2.10.1
2.11.0
2.11.1
2.11.2
2.11.3
2.12.0
2.13.0
2.14.0
2.14.1
2.15.0
2.16.0
2.17.0
2.17.1
2.17.2
2.18.0
2.18.1
2.18.2
2.19.0
2.19.1
2.19.2
2.19.3
2.19.4
2.2.0
2.2.1
2.20.0
2.20.1
2.21.0
2.21.1
*** 2.22.0
2.3.0
2.3.1
2.3.2
2.3.3
2.4.0
2.4.1
2.5.0
2.5.1
2.6.0
2.6.1
2.6.2
2.7.0
2.7.1
2.8.0
2.9.0
2.9.1
2.9.2
2.9.3
3.0.0-alpha.1
3.0.0-alpha.2
3.0.0-alpha.3