Use karma plugin to run kotlin-stdlib-js tests.
Also create html page to run tests interactively in browser. Use karma-teamcity-reporter 0.1.2 to workaround https://github.com/karma-runner/karma-teamcity-reporter/issues/38
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Kotlin Standard Library Test Suite</title>
|
||||
<link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css">
|
||||
|
||||
<!-- paths are setup for local file run -->
|
||||
<!-- run karmaDependencies gradle task to fetch qunit -->
|
||||
|
||||
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>
|
||||
<script src="../build/classes/kotlin.js"></script>
|
||||
<script src="../../../kotlin.test/js/build/classes/main/kotlin-test.js"></script>
|
||||
<script src="../build/classes/test/kotlin-stdlib-js_test.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="qunit"></div>
|
||||
<div id="qunit-fixture"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user