adampointer / go-deribit

Go library for using the Deribit's Websocket API
MIT License
27 stars 22 forks source link

Tests #8

Open adampointer opened 5 years ago

adampointer commented 5 years ago

Find a mocking framework for websockets maybe nock? Need to add basic tests around handling of messages from the remote as some break the type system where we expect objects and they send slices.

adampointer commented 5 years ago

Write an acceptance test suite where we actually connect to the test site and got every method and assert there are no errors. This should help flush out inconsistencies between the swagger documentation and the actual API. Use the examples directory from the developer's documentation to generate response and request objects.

adampointer commented 5 years ago

Public methods done