Test scenarios for Address01#1296
Conversation
Agree. |
Co-authored-by: Mats Dufberg <mats.dufberg@iis.se>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
Co-authored-by: tgreenx <96772376+tgreenx@users.noreply.github.com>
There was a problem hiding this comment.
(This file should be updated before merging)
matsduf
left a comment
There was a problem hiding this comment.
Looks fine. The test is when used as unit tests.
matsduf
left a comment
There was a problem hiding this comment.
This is fine, but test-zones-output.md should be updated before merge. @tolvmannen, install the implementation from zonemaster/zonemaster-engine#1453 and run the zonemaster-cli commands and add the output to test-zones-output.md and verify the output.
Updates "test-zones-output" after running "zonemaster-cli" with the updated code
|
@tgreenx, I have taken over, but still on the fork of @tolvmannen |
| * IPv4 address NOT_GLOBALLY_REACHABLE | ||
| * IPv6 address DOCUMENTATION_ADDR | ||
|
|
||
| ### NO_NAME_SERVERS |
There was a problem hiding this comment.
| ### NO_NAME_SERVERS | |
| ### NO-NAME-SERVERS |
| | Scenario name | Mandatory message tag | Forbidden message tags | | ||
| |:--------------------|:------------------------------------------------------------------------------------------------------------|:-----------------------| | ||
| | GOOD-1 | A01_GLOBALLY_REACHABLE_ADDR | 2) | | ||
| | MIXED-LOCAL-DOC-1 | A01_LOCAL_USE_ADDR, A01_DOCUMENTATION_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) | | ||
| | MIXED-LOCAL-DOC-2 | A01_LOCAL_USE_ADDR, A01_DOCUMENTATION_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) | | ||
| | MIXED-LOCAL-OTHER-1 | A01_LOCAL_USE_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) | | ||
| | MIXED-LOCAL-OTHER-2 | A01_LOCAL_USE_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) | | ||
| | MIXED-DOC-OTHER-1 | A01_DOCUMENTATION_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) | | ||
| | MIXED-DOC-OTHER-2 | A01_DOCUMENTATION_ADDR, A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_GLOBALLY_REACHABLE_ADDR | 2) | | ||
| | MIXED-ALL-1 | A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_DOCUMENTATION_ADDR, A01_LOCAL_USE_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) | | ||
| | MIXED-ALL-2 | A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_DOCUMENTATION_ADDR, A01_LOCAL_USE_ADDR, A01_GLOBALLY_REACHABLE_ADDR | 2) | | ||
| | ALL-NON-REACHABLE | A01_ADDR_NOT_GLOBALLY_REACHABLE, A01_LOCAL_USE_ADDR, A01_DOCUMENTATION_ADDR, A01_NO_GLOBALLY_REACHABLE_ADDR | 2) | | ||
| | NO_NAME_SERVERS | A01_NO_NAME_SERVERS_FOUND | 2) | |
There was a problem hiding this comment.
I think there should be at least two more test scenarios defined :
- one that uses IP address(es) from other special categories which are not globally reachable (e.g. "Deprecated" or "Benchmarking") -> e.g.
OTHER-BUT-NOT-REACHABLEorMIXED-OTHER-NOT-REACHABLE - and one that uses IP address(es) from other special categories which are globally reachable (e.g. "Direct Delegation AS112 Service" or "AMT" or "Port Control Protocol Anycast")-> e.g
OTHER-BUT-REACHABLEorMIXED-OTHER-REACHABLE
|
@tgreenx, updated with globally reachable addresses from special registries. All scenarios pass. Log updated. Please review. |
Purpose
Adding test zone(s) for updated test case address01 (#1284)