binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
MIT License
831
stars
628
forks
source link
Improve Configuration Possibilities for testing #389
I'd like to be able to use the Binance API and a Mocked Binance API in the same JVM for testing purposes. Since the Configuration is currently done via a static class, it is not possible to do so. I'd like to introduce a non static configuration class which can be provided to the factory.
@joaopsilva I'd like to solve this issue myself, but would like to discuss it with you shortly to prevent any misunderstanding. Would you have time at some point?
I'd like to be able to use the Binance API and a Mocked Binance API in the same JVM for testing purposes. Since the Configuration is currently done via a static class, it is not possible to do so. I'd like to introduce a non static configuration class which can be provided to the factory.
@joaopsilva I'd like to solve this issue myself, but would like to discuss it with you shortly to prevent any misunderstanding. Would you have time at some point?