Pull in QUnit using a submodule. In order to build jQuery (and run the tests) you'll need to do 'git submodule init' and 'git submodule update' after checkout.

1.7/enhancement_8685
John Resig 2009-10-22 21:39:41 -04:00
parent 4a51b12b95
commit 920238d485
3 changed files with 6 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "test/qunit"]
path = test/qunit
url = git://github.com/jquery/qunit.git

View File

@ -3,12 +3,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery Test Suite</title>
<link rel="Stylesheet" media="screen" href="qunit/qunit.css" />
<link rel="Stylesheet" media="screen" href="qunit/qunit/qunit.css" />
<link rel="Stylesheet" media="screen" href="data/testsuite.css" />
<!-- Includes -->
<script type="text/javascript" src="data/testinit.js"></script>
<script type="text/javascript" src="../dist/jquery.js"></script>
<script type="text/javascript" src="qunit/qunit.js"></script>
<script type="text/javascript" src="qunit/qunit/qunit.js"></script>
<script type="text/javascript" src="data/testrunner.js"></script>
<script type="text/javascript" src="unit/core.js"></script>
<script type="text/javascript" src="unit/data.js"></script>

1
test/qunit Submodule

@ -0,0 +1 @@
Subproject commit 57d1a28a9f6c44204d46ad651711beb4f8642117