Skip to content

feat: add spec conformance tests - #274

Open
nscuro wants to merge 1 commit into
package-url:masterfrom
nscuro:spec-conformance-tests
Open

feat: add spec conformance tests #274
nscuro wants to merge 1 commit into
package-url:masterfrom
nscuro:spec-conformance-tests

Conversation

@nscuro

Copy link
Copy Markdown
Collaborator

Note

Based on #273, which should be merged first.

Tests the implementation against the spec's official conformance test suite. The spec is included as git submodule to make versioning and updating easier.

A handful of tests are failing. I opted to document them as known failures for now. Fixes for those should ship separately.

Note that only tests of the required group are executed currently, because the library lacks a differentiation between strict and lenient parsing, which tests of the recommended group require. We should implement that later.

@nscuronscuro changed the title Spec conformance testsfeat: add spec conformance tests Aug 13, 2026
@nscuro
nscuroforce-pushed the spec-conformance-tests branch from 3b7fcbc to 9b32d40CompareAugust 15, 2026 10:05
Tests the implementation against the spec's official conformance test suite. The spec is included as git submodule to make versioning and updating easier.
A handful of tests are failing. I opted to document them as known failures for now. Fixes for those should ship separately.
Note that only tests of the `required` group are executed currently, because the library lacks a differentiation between strict and lenient parsing, which tests of the `recommended` group require. We should implement that later.
Signed-off-by: nscuro <nscuro@protonmail.com>
@nscuro
nscuroforce-pushed the spec-conformance-tests branch from 9b32d40 to 6d3ee86CompareAugust 15, 2026 14:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@nscuro