joii-unit
Version:
UnitTest Framework for JOII-based applications
32 lines (25 loc) • 809 B
HTML
<html>
<head>
<script src="node_modules/joii/dist/joii.js"></script>
<script src="src/TestSuite.js"></script>
<script src="src/Vendor/stacktrace.js"></script>
<script src="src/Loader/Loader.js"></script>
<script src="src/Loader/BrowserLoader.js"></script>
<script src="src/Loader/NodeLoader.js"></script>
<script src="src/Annotation/Reader.js"></script>
<script src="src/Annotation/Registry.js"></script>
<script src="src/Traits/AssertScalar.js"></script>
<script src="src/TestCase.js"></script>
<script src="src/TestRun.js"></script>
</head>
<body>
<script>
var ts = new JOII.Unit.TestSuite();
ts.run({
dependencies: ['test/dep.js'],
tests: ['test/OneTest.js', 'test/TwoTest.js']
});
</script>
</body>
</html>