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

Add Bluesky team's interop test cases #38

Open
snarfed opened this issue Jul 17, 2024 · 0 comments
Open

Add Bluesky team's interop test cases #38

snarfed opened this issue Jul 17, 2024 · 0 comments

Comments

@snarfed
Copy link
Owner

snarfed commented Jul 17, 2024

@bnewbold mentioned that they have some repo interop test cases in their open source projects. We should add them here! bluesky-social/atproto#2644 (comment) :

There are some interop test cases in each of these implementations. The two most basic types of validation tests are full repositories (CAR files) and very simple repo layouts (a set of records and paths). The tests basically read in the repo (from CAR file or description) in to an array or some other simple data structure; and then re-produce / re-export the repo, and validate that the shape and data hashes all match up. I very strongly recommend that anybody working on an MST/repo implementation both write their own tests as they work (both unit and integration tests), and then copy in these exact interop tests to cover the known tricky cases.

@snarfed snarfed transferred this issue from snarfed/bridgy-fed Nov 18, 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

No branches or pull requests

1 participant