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

Group tests into sections. #74

Merged
merged 13 commits into from
Jun 10, 2024
Merged

Group tests into sections. #74

merged 13 commits into from
Jun 10, 2024

Conversation

BigBlueHat
Copy link
Member

@BigBlueHat BigBlueHat commented Jun 7, 2024

It was getting very hard to understand the growing list of MUSTs relative to
the specification. The tests are now grouped into similarly named sections
with links in the code (at least) to those sections.

I plan to do more (likely in the upstream reporter) to make it possible to
link to the sections of the spec and provide basic descriptions of what the
tests are about.

Note: this one stacks on top of #73 which is still being polished.

@BigBlueHat BigBlueHat marked this pull request as draft June 7, 2024 18:24
@BigBlueHat BigBlueHat marked this pull request as ready for review June 10, 2024 14:00
package.json Outdated Show resolved Hide resolved
}
});
// 1.3 Conformance https://w3c.github.io/vc-data-model/#conformance
beforeEach(addPerTestMetadata);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I like this a lot.

tests/10-vcdm2.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@aljones15 aljones15 left a comment

Choose a reason for hiding this comment

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

I like the way the report reads and this improves test clarity while also restoring the its so definitely approved.

@BigBlueHat BigBlueHat merged commit 574e95d into main Jun 10, 2024
2 checks passed
@BigBlueHat BigBlueHat deleted the more-sections branch June 10, 2024 17:27
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.

None yet

2 participants