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

selector: add tests which are driven by language-agnostic spec fixtures. #231

Merged
merged 2 commits into from
Aug 18, 2021

Conversation

warpfork
Copy link
Collaborator

This has been LONG overdue.

It depends on a matching PR to the specs, which is:
ipld/ipld#130 .

It adds the specs+docs repo as a git submodule.
(This may be tetchy to some people, but they Solve Problems.)
If you don't check out the submodule, these tests are just skipped.

It adds github.com/warpfork/go-testmark as a new dependency.
This is what parses the fixture format. It's nothing special;
the fixture format is also... markdown. This parser just gives us
a good combination of human readability and machine processability.

This has been LONG overdue.

It depends on a matching PR to the specs, which is:
ipld/ipld#130 .

It adds the specs+docs repo as a git submodule.
(This may be tetchy to some people, but they Solve Problems.)
If you don't check out the submodule, these tests are just skipped.

It adds github.com/warpfork/go-testmark as a new dependency.
This is what parses the fixture format.  It's nothing special;
the fixture format is also... markdown.  This parser just gives us
a good combination of human readability and machine processability.
…tures.

(Apparently our CI still tests go1.14 and 1.15, neither of which have...
os.ReadFile, of all the banalities.)
@warpfork
Copy link
Collaborator Author

Tests. Are. GREEN.

🟢 🟢 🟢

This is so badly overdue I'm merging it immediately.

@warpfork warpfork merged commit d5b09ad into master Aug 18, 2021
@warpfork warpfork deleted the selector-tests-from-specifications branch August 18, 2021 16:23
@aschmahmann aschmahmann mentioned this pull request Sep 30, 2021
62 tasks
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