Skip to content

Produce JSON fixtures to test rendering of visual features #195

@kd-ods

Description

@kd-ods

For each of the visual features produced when processing an array of JSON objects (and for combinations of features), it's possible to create a sets of minimal JSON code to test the visual output for conformance. (Basically: JSON fixtures.) As an example:

[
  {
    "recordType": "entity"
  }
]

...is one chunk of JSON that tests the minimal conditions under which a basic entity node is drawn.

The visual output could be checked by eye, for conformance with the spec. Or automated visual regression testing might be implemented at some point.

Producing this JSON code to test the existing spec would be a few days' work. It would contribute to a more robust testing framework for the tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions