[1] describes how to do QUnit testing but it does not mention if / how to get some coverage reports (e.g. with the help of Istanbul). While searching for an answer, I found this [2] post about testing challenges for Extension:Popups and solutions implemented for this specific extension.
Is there a generic approach, how to get some coverage reports for the JavaScript parts of MW and MW extensions? /Alexander [1] https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing [2] https://phabricator.wikimedia.org/phame/post/view/96/fast_and_isolated_js_unit_tests/ _______________________________________________ Wikitech-l mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
