Page MenuHomePhabricator

MediaWiki qunit Jenkins jobs should emit a junit result and process it
Closed, DeclinedPublic

Description

We run MediaWiki Qunit tests with Karma. It has support for generating a Junit result. Our Gruntfile could detect whether it runs under Jenkins and inject the proper configuration, then get the Jenkins Job to process the result.

Jobs:

mediawiki-core-qunit-jessie
mediawiki-extensions-qunit-jessie
mwext-qunit-composer-jessie
mwext-qunit-jessie

Event Timeline

hashar triaged this task as Medium priority.Jun 16 2017, 10:53 AM
Krinkle subscribed.

The general expectation and preference from develoeprs around unit tests is text-based nowadays. This feels like potentially a step back compared to the days of Jenkins and its elaborate post-commit pipelines, but alas, the industry has spoken.

See also T256402. I'm declining this as this area doesn't seem worthwhile for us to specifically innovate or deviate from the norm in.