Page MenuHomePhabricator

Category methods members, subcategories and articles do not have unit tests
Closed, ResolvedPublic


The Category class has only a limited number of unit test cases.

The primary set of tests are in

However a few other related tests are located in other test modules.

The tests in page_tests should be moved to a new test module , and new basic tests added for at least the methods and attributes

  • sortKey
  • categoryinfo
  • members
  • subcategories
  • articles

(Methods copyTo and copyAndKeep are likely to be removed in the near future, and are essentially currently unsupported cruft)

Event Timeline

jayvdb created this task.Dec 11 2014, 4:51 AM
jayvdb raised the priority of this task from to Medium.
jayvdb updated the task description. (Show Details)
jayvdb changed Security from none to None.
jayvdb added subscribers: Unknown Object (MLST), jayvdb.

Change 180758 had a related patch set uploaded (by Unicodesnowman):
Add tests for the Category class


Change 180758 merged by jenkins-bot:
Add tests for the Category class

Unicodesnowman closed this task as Resolved.Dec 19 2014, 11:36 AM
Unicodesnowman claimed this task.