-
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
Description
We will need tests that test for related variables. I think there are two possible ways:
- add
@related
to the test:if variable="title" related="original"
- 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.)