Open adampointer opened 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.
Public methods done
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.