jenkins-bot has submitted this change and it was merged.

Change subject: tests: Add QUnit web interface
......................................................................


tests: Add QUnit web interface

This makes debugging failures a lot easier than watching the
output in the console, it would be good to have it as an option.

Change-Id: I24066af5e31713311bb7a2f1efff38ced6351e5f
---
A tests/index.html
1 file changed, 25 insertions(+), 0 deletions(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/index.html b/tests/index.html
new file mode 100644
index 0000000..20d81c4
--- /dev/null
+++ b/tests/index.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="en" dir="ltr">
+       <head>
+               <meta charset="UTF-8">
+               <link rel="stylesheet" 
href="../node_modules/qunitjs/qunit/qunit.css">
+               <title>OOjs Test Suite</title>
+               <script src="../node_modules/qunitjs/qunit/qunit.js"></script>
+               <script>
+                       QUnit.config.requireExpects = true;
+               </script>
+               <!-- Source code -->
+               <script src="../dist/oojs.js"></script>
+               <!-- Test suites -->
+               <script src="testrunner.js"></script>
+               <script src="unit/core.test.js"></script>
+               <script src="unit/EventEmitter.test.js"></script>
+               <script src="unit/Factory.test.js"></script>
+               <script src="unit/Prioritizer.test.js"></script>
+               <script src="unit/Registry.test.js"></script>
+               <script src="unit/util.test.js"></script>
+       </head>
+       <body>
+               <div id="qunit"></div>
+       </body>
+</html>

-- 
To view, visit https://gerrit.wikimedia.org/r/224550
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I24066af5e31713311bb7a2f1efff38ced6351e5f
Gerrit-PatchSet: 6
Gerrit-Project: oojs/core
Gerrit-Branch: master
Gerrit-Owner: Mooeypoo <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Mooeypoo <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to