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

Use PURL test suite #7

Closed
wants to merge 6 commits into from
Closed

Use PURL test suite #7

wants to merge 6 commits into from

Conversation

mattt
Copy link
Collaborator

@mattt mattt commented Nov 3, 2022

The PURL spec repository includes a test suite file that provides a more extensive set of expected behaviors than the README alone.

This PR replaces the manual specs from new ones derived from the test suite, and sets up some automation to automatically download the latest from the package-url/purl-spec repo.

# regenerates spec/fixtures/test-suite.json and runs rspec
$ bundle exec rake clobber spec

@mattt mattt mentioned this pull request Nov 3, 2022
@mattt
Copy link
Collaborator Author

mattt commented Nov 3, 2022

The test suite introduced a bunch of new failures. Most of these are a case mismatch, owing to the Ruby library not implementing the case normalization described in Package URL type definitions. I'm working to address this now.

@mattt mattt marked this pull request as ready for review November 3, 2022 20:28
@mattt mattt closed this Oct 21, 2024
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.

1 participant