Skip to content

Add tests for related variables #377

@denismaier

Description

@denismaier

We will need tests that test for related variables. I think there are two possible ways:

  1. add @related to the test: if variable="title" related="original"
  2. add new test-conditions for each relation: if original-variable="title"

2 has the advantage that you can test for variables that are on different levels in the same test: if original-variable="title" variable="translator". And it's more concise than 1. Of course, this means one attribute fore each relation, and this will be slightly more messy when we add new relations. If we use the first approach we can just add new options to @related. (OTOH, there won't be 100 relations; maybe three to five or so.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions