Page MenuHomePhabricator

Create tests for the Quiz extension
Closed, ResolvedPublic

Description

We should have unit tests for the Quiz extension.

See: https://www.mediawiki.org/wiki/Manual:Unit_testing

Event Timeline

Mvolz triaged this task as Medium priority.
Mvolz raised the priority of this task from Medium to High.

I think we should prioritise this before adding any new features, and testing all the new bug fixes that we've already done. It's easiest to write tests *with* a change so the longer we leave this the worse the technical debt becomes :).

Change 362264 had a related patch set uploaded (by Harjotsingh; owner: Harjotsingh):
[mediawiki/extensions/Quiz@master] Basic Unit Tests for Quiz Extension [WIP]

https://gerrit.wikimedia.org/r/362264

Change 362264 merged by jenkins-bot:
[mediawiki/extensions/Quiz@master] Basic Unit Tests for Quiz Extension

https://gerrit.wikimedia.org/r/362264

Closing as resolved as major tests are already added.
New features will have accompanying tests with them.