Skip to content

Add test zones for Address03#1354

Merged
marc-vanderwal merged 3 commits into
zonemaster:developfrom
marc-vanderwal:feature/address03-test-data
May 20, 2025
Merged

Add test zones for Address03#1354
marc-vanderwal merged 3 commits into
zonemaster:developfrom
marc-vanderwal:feature/address03-test-data

Conversation

@marc-vanderwal

Copy link
Copy Markdown
Contributor

Purpose

This PR adds a handful of test scenarios in order to test the current implementation of Address03.

The test scenarios involve empty zones (except for SOA and NS resource records at the apex), with varying name servers which themselves have addresses which may or may not have associated PTR resource records.

Context

Attempt to reproduce the issue in #1353.

Changes

  • Add Address03 test data and documentation

How to test this PR

N/A

Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread test-zone-data/Address-TP/address03/3.11.127.in-addr.arpa.zone Outdated
Comment thread test-zone-data/Address-TP/address03/README.md Outdated
@marc-vanderwal marc-vanderwal force-pushed the feature/address03-test-data branch from 1ebfc0a to 2523ef1 Compare February 26, 2025 08:03
Comment thread docs/public/specifications/test-zones/Address-TP/README.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread test-zone-data/Address-TP/address03/test-zones-output.md Outdated
@marc-vanderwal marc-vanderwal force-pushed the feature/address03-test-data branch from 2523ef1 to 453b7fc Compare February 27, 2025 15:34
@marc-vanderwal

Copy link
Copy Markdown
Contributor Author

I’ve committed a new version of this PR, but I need to implement the two extra scenarios that I added in my last iteration. Feedback on the test zone specification is welcome!

@marc-vanderwal marc-vanderwal force-pushed the feature/address03-test-data branch from 453b7fc to 40e9531 Compare March 17, 2025 07:41
matsduf
matsduf previously approved these changes Apr 28, 2025

@tgreenx tgreenx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few nits.

Also we should update the docs/public/SUMMARY.md file for the online documentation.

Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread docs/public/specifications/test-zones/Address-TP/address03.md Outdated
Comment thread test-zone-data/Address-TP/address03/README.md Outdated
Address03 is missing test zone data. Let’s create it so that we can have
proper unit tests for this test case. It will also help reproduce the
issue described in zonemaster#1353.

Note that the specification could use a rewrite. I’m basing it on what
we currently have, but a specification update should also include an
update of the test data. Although I think I’m already pretty complete.
@marc-vanderwal

Copy link
Copy Markdown
Contributor Author

I’ve updated docs/public/SUMMARY.md and addressed a few typos. @tgreenx and @matsduf, can you please re-review?

@marc-vanderwal marc-vanderwal merged commit ff9f1e7 into zonemaster:develop May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Documentation Area: Documentation only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants