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

Testing go-multistream against compliance tests #3

Closed
daviddias opened this issue Jun 11, 2015 · 0 comments
Closed

Testing go-multistream against compliance tests #3

daviddias opened this issue Jun 11, 2015 · 0 comments

Comments

@daviddias
Copy link
Member

Following up on our last convo and this pull, let's make go-multistream compliant with interactive mode.

From what I can understand, all that we need is for the 'client' to send the multistream protocol back and it is golden :)

To do the tests, what would be the best way to do tests in go, where I simply inject a given input and compare it's output with another output? Here is what I did in Node.js - https://github.com/diasdavid/node-multistream/blob/master/tests/comp/compliance-test.js#L25-L88

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