Page MenuHomePhabricator

WikiLambda: Add ZObject::getSerialized() unit tests
Open, Needs TriagePublic


ZObject.php and all its inheriting classes (all classes in the ZObjects directory) have a getSerialized() method that transforms a tree of ZObject instances into the JSON representation of that ZObject in canonical or normal form.

Tests for all ZObject classes should be added to check that the instances are serialized properly.

Current code: plus that method in sub-classes where over-ridden.
Current coverage report example:

Event Timeline

gengh renamed this task from Add ZObject::serialize() tests in WikiLambda to WikiLambda: Add ZObject::getSerialized() unit tests.Nov 30 2021, 2:19 PM
gengh added a project: good first task.
gengh updated the task description. (Show Details)
gengh removed gengh as the assignee of this task.Mar 17 2022, 9:11 AM