rust-los-angeles / stockfighter-sdk-rs

Stockfighter.io SDK written in Rust
Apache License 2.0
4 stars 11 forks source link

Mock responses for tests #33

Open georgemarshall opened 8 years ago

georgemarshall commented 8 years ago

Currently all tests query the live API, which are not all publicly accessible. We should mock API responses to fully exercise our code as well.

hjr3 commented 8 years ago

Another option is to create an account for the project, use the API to start level 1 and then execute our tests against level 1. Or maybe have both mock data and this option.