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

passing a common test suite (which we'll extract from go-ipfs) #17

Open
mvanveen opened this issue Oct 27, 2015 · 2 comments
Open

passing a common test suite (which we'll extract from go-ipfs) #17

mvanveen opened this issue Oct 27, 2015 · 2 comments

Comments

@mvanveen
Copy link
Contributor

@jbenet calls this out in #1. Judging by #8 people seem to agree with the principle that developing against a testable spec is a priority.

I'm curious how we're going to go about accomplishing and structuring this goal. I realize the actual written spec is still in progress (I myself am still coming up to speed on the protocol specifics).

I'd like to use this issue to center discussion on planning for how we're going to tackle this issue.

@mvanveen
Copy link
Contributor Author

I think as @jbenet highlights we can "extract" working definitions from the existing golang reference source code and start putting together a test suite from that material. So there's some ways we can get started even while the spec is being finalized.

Another interesting approach might be to design a functional test harness which can use python-ipfs-api and py-ipfs interchangeably. The idea here is that we could leverage the golang implementation via a pythonic test suite initially and get started on designing a set of test cases immediately while py-ipfs is still being built.

@bmcorser
Copy link
Contributor

So, the Sharness suite is here ... coverage table is here. Those will be really useful when our implementation here gets underway. @jbenet mentioned that the above will be broken out into a repo of its own soon. This may coincide with the suite becoming useful to this project; if not, we can subtree from there and start using it anyway :)

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

2 participants