Advertisement
Dennisaa

SpecRunner01

Sep 3rd, 2015
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <meta charset="utf-8">
  5.   <title>Jasmine simple test suite</title>
  6.  
  7.   <link rel="shortcut icon" type="image/png" href="lib/jasmine-2.3.4/jasmine_favicon.png">
  8.   <link rel="stylesheet" href="lib/jasmine-2.3.4/jasmine.css">
  9.  
  10.   <script src="lib/jasmine-2.3.4/jasmine.js"></script>
  11.   <script src="lib/jasmine-2.3.4/jasmine-html.js"></script>
  12.   <script src="lib/jasmine-2.3.4/boot.js"></script>
  13.  
  14.   <!-- These are the modules under test (i.e. the SUT)... -->
  15.   <script src="src/Calculator.js"></script>
  16.  
  17.   <!-- These are the specs that test the SUT ... -->
  18.   <!-- (Note that the over-arching runner is called SPECRunner.html,
  19.        and the tests exercising the SUT have the convention SUTSpec.js,
  20.        for example [Calculator] (SUT) + [Spec] (convention for test) + [.js] -->
  21.   <script src="spec/CalculatorSpec.js"></script>
  22.  
  23. </head>
  24.  
  25. <body>
  26. </body>
  27. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement