Repository navigation
Expand file tree
/
Copy pathqunit-test.html
More file actions
58 lines (52 loc) · 2.72 KB
/
Copy pathqunit-test.html
File metadata and controls
58 lines (52 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<!--
IMPORTANT: This file must be accessed through a Python server on port 8000.
Do not open this file directly from the filesystem.
To run the tests:
1. Start the Python server: python -m http.server 8000
2. Navigate to: http://localhost:8000/qunit-test.html
3. After testing, stop the server with Ctrl+C
For more details, see docs/browserServerConfig.md
-->
<html>
<head>
<title>Spades - QUnit Tests</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.19.1.css">
<meta charset="utf-8">
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<script src="https://code.jquery.com/qunit/qunit-2.19.1.js"></script>
<!-- Game source files -->
<script src="js/card.js" type="module"></script>
<script src="js/deck.js" type="module"></script>
<script src="js/hand.js" type="module"></script>
<script src="js/legalPlayRules.js" type="module"></script>
<script src="js/player.js" type="module"></script>
<script src="js/game.js" type="module"></script>
<script src="js/turn.js" type="module"></script>
<script src="js/cardComparer.js" type="module"></script>
<script src="js/stratagies/play/playStrategy.js" type="module"></script>
<script src="js/stratagies/play/smartPlayStrategy.js" type="module"></script>
<!-- Unit Test files -->
<script src="js/test/qunit/card.test.js" type="module"></script>
<script src="js/test/qunit/deck.test.js" type="module"></script>
<script src="js/test/qunit/game.test.js" type="module"></script>
<script src="js/test/qunit/hand.test.js" type="module"></script>
<script src="js/test/qunit/legalPlayRules.test.js" type="module"></script>
<script src="js/test/qunit/cardComparer.test.js" type="module"></script>
<script src="js/test/qunit/ruleEnforcement.test.js" type="module"></script>
<script src="js/test/qunit/cardAnimation.test.js" type="module"></script>
<!-- Integration Test files -->
<script src="js/test/qunit/integration/trickFlow.test.js" type="module"></script>
<script src="js/test/qunit/integration/gameInitialization.test.js" type="module"></script>
<script src="js/test/qunit/integration/spadesBreaking.test.js" type="module"></script>
<script src="js/test/qunit/integration/trickWinning.test.js" type="module"></script>
<script src="js/test/qunit/integration/playerStrategy.test.js" type="module"></script>
<script src="js/test/qunit/integration/unusualDistributions.test.js" type="module"></script>
<script src="js/test/qunit/integration/errorHandling.test.js" type="module"></script>
<script src="js/test/qunit/integration/leadingSuitValidation.test.js" type="module"></script>
<script src="js/test/qunit/integration/cardComparison.test.js" type="module"></script>
</body>
</html>