Skip to content

Adds test scenarios for Basic01#1255

Merged
matsduf merged 17 commits into
zonemaster:developfrom
matsduf:adds-test-scenarios-basic01
Jun 12, 2024
Merged

Adds test scenarios for Basic01#1255
matsduf merged 17 commits into
zonemaster:developfrom
matsduf:adds-test-scenarios-basic01

Conversation

@matsduf

@matsduf matsduf commented Apr 21, 2024

Copy link
Copy Markdown
Contributor

Purpose

This PR adds test scenarios for Basic01. The scenarios are based on the expected outcome of #1257.

@matsduf matsduf marked this pull request as draft April 21, 2024 20:57
@matsduf matsduf force-pushed the adds-test-scenarios-basic01 branch from e4e14d9 to 50651e6 Compare April 26, 2024 11:24
@matsduf matsduf force-pushed the adds-test-scenarios-basic01 branch 5 times, most recently from bd8f02c to 2caef1b Compare May 3, 2024 15:21
@matsduf matsduf marked this pull request as ready for review May 20, 2024 21:26

@marc-vanderwal marc-vanderwal 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.

Looks fine to me. I just see a few typos.

Comment thread test-zone-data/Basic-TP/basic01/COMMON.basic01.xa.zone Outdated
Comment thread test-zone-data/Basic-TP/basic01/basic01.xa.zone Outdated
matsduf and others added 2 commits May 21, 2024 17:05
Co-authored-by: Marc van der Wal <103426270+marc-vanderwal@users.noreply.github.com>
@matsduf matsduf requested a review from marc-vanderwal May 21, 2024 15:54
marc-vanderwal
marc-vanderwal previously approved these changes May 24, 2024
@matsduf

matsduf commented Jun 3, 2024

Copy link
Copy Markdown
Contributor Author

@tgreenx, can you approve this?

tgreenx added a commit to tgreenx/zonemaster-engine that referenced this pull request Jun 4, 2024
Based on:
	- Updated test case specification from zonemaster/zonemaster#1257
	- New test zones specification from zonemaster/zonemaster#1255
tgreenx added a commit to tgreenx/zonemaster-engine that referenced this pull request Jun 4, 2024
Based on:
	- Updated test case specification from zonemaster/zonemaster#1257
	- New test zones specification from zonemaster/zonemaster#1255
Comment thread test-zone-data/Basic-TP/basic01/README.md Outdated
Comment thread docs/public/specifications/test-zones/Basic-TP/basic01.md Outdated
Comment thread docs/public/specifications/test-zones/Basic-TP/basic01.md Outdated
Comment thread docs/public/specifications/test-zones/Basic-TP/basic01.md Outdated
Comment thread docs/public/specifications/test-zones/Basic-TP/basic01.md Outdated
Comment thread docs/public/specifications/test-zones/Basic-TP/basic01.md Outdated
Comment thread docs/public/specifications/test-zones/Basic-TP/basic01.md Outdated
Comment thread docs/public/specifications/test-zones/Basic-TP/basic01.md Outdated
Comment thread test-zone-data/Basic-TP/basic01/COMMON-DEL-CHILD.basic01.xa.zone Outdated
Comment thread test-zone-data/Basic-TP/basic01/README.md Outdated
matsduf and others added 4 commits June 9, 2024 23:04
tgreenx added a commit to tgreenx/zonemaster-engine that referenced this pull request Jun 11, 2024
Based on:
	- Updated test case specification from zonemaster/zonemaster#1257
	- New test zones specification from zonemaster/zonemaster#1255
Comment thread docs/public/specifications/test-zones/Basic-TP/basic01.md Outdated
@tgreenx tgreenx added this to the v2024.1 milestone Jun 11, 2024
tgreenx added a commit to tgreenx/zonemaster-engine that referenced this pull request Jun 11, 2024
Based on:
	- Updated test case specification from zonemaster/zonemaster#1257
	- New test zones specification from zonemaster/zonemaster#1255
tgreenx added a commit to tgreenx/zonemaster-engine that referenced this pull request Jun 12, 2024
Based on:
	- Updated test case specification from zonemaster/zonemaster#1257
	- New test zones specification from zonemaster/zonemaster#1255

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.

If I understand the purpose of this specific profile, it is to change the levels of some message tags related to Basic01 (from DEBUG to INFO) for easier readability in the output of Zonemaster-CLI.
I suggest that it is simplified, i.e. remove all test modules in the test_levels property unrelated to Basic01, and specify the property test_cases with only Basic01: "test_cases": [ "basic01" ]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I see this as a temporary solution. I want to have one shared profile under "COMMON", and in another PR I do add that, but while waiting for that to be merged I created this profile file to make it work.

I have reduced it, but kept all Basic related messages plus SYSTEM.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, the purpose is to raise any relevant message from DEBUG to INFO to make it possible to have all relevant messages printed out without have a lot of other messages. That is the only purpose of the profile here.

@matsduf matsduf requested a review from tgreenx June 12, 2024 11:02
@matsduf matsduf merged commit 5b3ce47 into zonemaster:develop Jun 12, 2024
@matsduf matsduf deleted the adds-test-scenarios-basic01 branch June 12, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants