Page MenuHomePhabricator

Make it possible to run/add QUnit tests for extensions
Closed, ResolvedPublic

Description

At the moment it is not possible to automatically/easily run qunit tests for extensions according to the documentation. Thought it might be a good idea to track this in bugzilla.


Version: unspecified
Severity: normal
URL: http://www.mediawiki.org/w/index.php?title=Manual:JavaScript_unit_testing&oldid=425412#How_to_write_a_QUnit_test_in_MediaWiki

Details

Reference
bz30656
TitleReferenceAuthorSource BranchDest Branch
Use kokkuri v1.6.0 imagerepos/releng/kokkuri!71dancyreview/dancy/use-v1.6.0-imagemain
Allow docker/dockerfile frontendrepos/releng/kokkuri!70dancyreview/dancy/allow-dockerfilemain
EventDataStreamFactory - add row_file_sink methodrepos/data-engineering/eventutilities-python!23ottoT326565_file_sinkmain
Imporve test coverage for Flink wrappers (3/3)repos/data-engineering/eventutilities-python!17gmodenaT326565-add-serde-testingmain
Add utilities for DataStream conversion (2/3)repos/data-engineering/eventutilities-python!16gmodenaT326565-add-row-to-dict-utilsmain
Add local stream config (1/3)repos/data-engineering/eventutilities-python!15gmodenaT326565-add-testing-basemain
Run CI with java depsrepos/data-engineering/eventutilities-python!10gmodenaT326567-ci-run-with-java-depsmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:50 PM
bzimport set Reference to bz30656.

This is made possible in the /branches/JSTesting branch using the new ResourceLoaderTestModules hook.

That branch *might* be merged in trunk during november 2011.

Going to land this in trunk this or next week.

Can you please point to documentation the describes how JavaScript unit tests can be added to testswarm?

(In reply to comment #5)

Can you please point to documentation the describes how JavaScript unit tests
can be added to testswarm?

Im writing that as I speak. Keep an eye on https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing