Hello!
For testing interactions with Braintree, we would like to use Mox in concurrent tests. Right now we can mock interactions with this whole library, but this library is also an important part of our system that we would like to keep testing on the integration level.
Would it be possible to make e.g. a smaller part of https://github.com/sorentwo/braintree-elixir/blob/main/lib/http.ex a separate module, have a behaviour interface for it, and go through configuration wherever it's being called?
Hello!
For testing interactions with Braintree, we would like to use Mox in concurrent tests. Right now we can mock interactions with this whole library, but this library is also an important part of our system that we would like to keep testing on the integration level.
Would it be possible to make e.g. a smaller part of https://github.com/sorentwo/braintree-elixir/blob/main/lib/http.ex a separate module, have a behaviour interface for it, and go through configuration wherever it's being called?