Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update option 'list_tests' #354

Merged
merged 1 commit into from
Sep 19, 2023
Merged

Conversation

tgreenx
Copy link
Contributor

@tgreenx tgreenx commented Sep 12, 2023

Purpose

This PR updates option list_tests by removing the use of the POD extraction function (Zonemaster::Engine::Util/pod_extract_for()) of Test Case methods.
This is no longer useful after the changes in zonemaster/zonemaster-engine#1277, where that function is removed (by commit zonemaster/zonemaster-engine@0631ee0). See comment.

Context

Relates to zonemaster/zonemaster-engine#1277 (specifically commit zonemaster/zonemaster-engine@0631ee0)

Changes

lib/Zonemaster/CLI.pm

How to test this PR

Run zonemaster-cli --list_tests and check that only the Test Cases IDs are outputted.

Remove POD extraction. This is no longer useful after the changes in zonemaster-engine#1277.
@tgreenx tgreenx added the V-Patch Versioning: The change gives an update of patch in version. label Sep 12, 2023
@tgreenx tgreenx added this to the v2023.2 milestone Sep 12, 2023
Copy link
Contributor

@matsduf matsduf left a comment

Choose a reason for hiding this comment

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

This is fine, but I think it is V-Minor not V-Patch since it changes the interface.

@tgreenx tgreenx added V-Minor Versioning: The change gives an update of minor in version. and removed V-Patch Versioning: The change gives an update of patch in version. labels Sep 14, 2023
@tgreenx tgreenx merged commit be1ae5e into zonemaster:develop Sep 19, 2023
@tgreenx tgreenx deleted the update-list_tests branch September 19, 2023 14:30
@mattias-p
Copy link
Member

v2023.2 Release Testing

I successfully tested this on Rocky Linux 8.9.

N.B. The description says that it is only the test case IDs that are printed, but the output actually also includes the module names. I'm guessing this is what's intended though.

@mattias-p mattias-p added the S-ReleaseTested Status: The PR has been successfully tested in release testing label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-ReleaseTested Status: The PR has been successfully tested in release testing V-Minor Versioning: The change gives an update of minor in version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants