test-tap/tests/TapHarness.html

44 lines
776 B
HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<style type="text/css">
.test {
margin-top : 10px;
margin-bottom : 10px;
border : 3px;
border-style : inset;
overflow : auto;
}
.small {
height : 20px;
}
.big {
height : 600px;
}
.fail { background-color : red; }
.pass { background-color : green; }
</style>
<script type="text/javascript">
/** Configuration options
*
*/
var tests = [
'01_tap.t.js',
];
</script>
This is the Tap test harness for the browser.
<script type="module">
import { Tap, runTest } from '../src/TAP.mjs';
import { tapSuite } from './suite.mjs';
runTest(Tap.Browser(), 'Tap Dogfood Tests', tapSuite);
</script>
</body>
</html>