Skip to content

Conversation

@jkowalleck
Copy link
Member

@jkowalleck jkowalleck commented Oct 1, 2025

since i came up with the original idea to split the test suite(#428)
so that implementations can properly test for the spec and types,
and i've spent a lot of time to properly split the actual needed spec tests, which were broadly ignored in the #514,
here are the "forgotten" and "wrong-categorized" tests.

reviewing all original test cases took me multiple days the last time,
unfortunately, my work was ignored.
I don't have the time to do this again. feel free to do it this time, i am just leaving this PR as a starter.

Signed-off-by: Jan Kowalleck <[email protected]>
@jkowalleck jkowalleck changed the title moved general tests to spec [WIP] moved/added general tests to spec Oct 1, 2025
@jkowalleck jkowalleck changed the title [WIP] moved/added general tests to spec tests: moved/added general tests to spec Oct 1, 2025
@jkowalleck jkowalleck marked this pull request as ready for review October 1, 2025 11:53
"expected_failure": false,
"expected_failure_reason": null
},
{
Copy link
Member Author

Choose a reason for hiding this comment

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

moved to specification-test

"expected_failure_reason": "Should fail to parse a PURL from invalid purl input"
},
{
"description": "checks for invalid qualifier keys",
Copy link
Member Author

Choose a reason for hiding this comment

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

moved to specification-test

"expected_failure_reason": null
},
{
"description": "a name is required",
Copy link
Member Author

Choose a reason for hiding this comment

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

moved to specification-test

"expected_failure_reason": "Should fail to parse a PURL from invalid purl input"
},
{
"description": "a name is required",
Copy link
Member Author

Choose a reason for hiding this comment

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

moved to specification-test

Copy link
Member

@mjherzog mjherzog left a comment

Choose a reason for hiding this comment

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

Resolved the conflict with changes from #694 by accepting both changes

Copy link
Member

@johnmhoran johnmhoran left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@mjherzog mjherzog merged commit 8239d47 into package-url:main Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants