https://bugzilla.wikimedia.org/show_bug.cgi?id=44488
Web browser: --- Bug ID: 44488 Summary: Special:JavaScriptTest/qunit doesn't fail broken ResourceLoader modules Product: MediaWiki Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Unit tests Assignee: wikibugs-l@lists.wikimedia.org Reporter: sp...@wikimedia.org CC: has...@free.fr, krinklem...@gmail.com, m...@everybody.org, wikibugs-l@lists.wikimedia.org Classification: Unclassified Mobile Platform: --- For bug 44299, I created a bad .js file that causes errors in Extension:E3Experiments's ResourceLoader modules. However, when I run http://localhost/wiki/index.php/Special:JavaScriptTest/qunit in non-debug mode with this bad .js in place: * There's no report from qunit that any modules are in "error" state. * The E3Experiments qunit test is silently omitted from the list of tested modules and the dropdown, but there's no warning. * If I force the E3Experiments test to run with http://localhost/wiki/index.php/Special:JavaScriptTest/qunit?module=ext.E3Experiments.standalone , it reports "0 tests of 0 passed, 0 failed", but otherwise looks OK. The E3Experiments qunit test is very incomplete, it can run standalone and barely tests any functionality. But mw.loader.getState('ext.Experiments.tests') is "error" also, so I would expect some notification from qunit that there was a problem. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l