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

@nscuro nscuro commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

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.

@nscuro nscuro changed the title Spec conformance tests feat: add spec conformance tests Aug 13, 2026
@nscuro
nscuro force-pushed the spec-conformance-tests branch 2 times, most recently from 9b32d40 to 6d3ee86 Compare August 15, 2026 14:43
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
nscuro force-pushed the spec-conformance-tests branch from 6d3ee86 to acdc1cf Compare August 28, 2026 13:41
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.

1 participant