Creates test scenarios and test zones for test cases Delegation01, -02 and -03#1305
Conversation
b2fb2f0 to
06bfa47
Compare
06bfa47 to
90d16eb
Compare
|
@mattias-p, @marc-vanderwal, @tolvmannen, @tgreenx -- please review. |
mattias-p
left a comment
There was a problem hiding this comment.
I've only read through the markdown files and noted things I saw as I passed by. It's a big PR, but if you want I can go through it again more thoroughly.
Co-authored-by: Mattias Päivärinta <mattias@paivarinta.se>
mattias-p
left a comment
There was a problem hiding this comment.
I looked through the documentation again. I found a bunch of details to comment on, but overall it looks really good.
| Missing glue, only IPv4 on ns1 and only IPv6 on ns2. | ||
|
|
||
| * Zone: mismatch-delegation-child-1.delegation01.xa | ||
| * Both ns1 and ns2 in delegation. |
There was a problem hiding this comment.
Could this item be removed? It changes nothing compared to ENOUGH-1, right?
| The zone has only IPv4 on ns1 and only IPv6 on ns2. | ||
|
|
||
| * Zone: mismatch-delegation-child-2.delegation01.xa | ||
| * Both ns1 and ns2 in zone. |
There was a problem hiding this comment.
Could this item be removed? It changes nothing compared to ENOUGH-1, right?
| addresses, respectively. | ||
| * ns1a and ns1b have distinct addresses in the zone (IPv4 and IPv6, | ||
| respectively). | ||
| * Undelegated data: |
There was a problem hiding this comment.
I'm not sure how to interpret this item. Maybe I've missed something or maybe it could use a few more words of explanation.
There was a problem hiding this comment.
I have added a section to the "test scenario README file" referred to from this file. The update is included in this PR.
Co-authored-by: Mattias Päivärinta <mattias@paivarinta.se>
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
|
@marc-vanderwal, please re-review. |
tgreenx
left a comment
There was a problem hiding this comment.
The file docs/public/SUMMARY.md should be updated too.
| * All addresses are distinct | ||
| * All required glue are present in the delegation. | ||
| * There is no actual zone or zone file, only a delegation. | ||
| * For this test, that the zone is missing is disregarded. |
There was a problem hiding this comment.
I'm not sure of the intended meaning here for my suggestion, but it surely needs a rephrase.
| * For this test, that the zone is missing is disregarded. | |
| * For this test, that the missing zone is disregarded. |
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
|
Resolved conflict that was created when #1294 was merged. @tgreenx and @marc-vanderwal, please review/approve. |
Purpose
This PR defines test scenarios and create test zones for test cases
New unit tests bases in this work have been created in zonemaster/zonemaster-engine#1395.
The implementation of Delegation02 also outputs tags SAME_IP_ADDRESS or DISTINCT_IP_ADDRESS. Those are however not defined in the test case specification, and they are disregarded for the scenarios. They do not seem to add any information to the result.
The unit tests created from these scenarios will replace legacy unit tests.
Context
zonemaster/zonemaster-engine#1395
How to test this PR
Review.