Florin Lipan
Florin Lipan
I think an easier solution (both on your side and on the library side) could be the one implemented in https://github.com/lipanski/mockito/pull/99 - also check the related issue. would that solve...
@ggriffiniii interesting idea. how would expose the server address to your code though (in the least intrusive way)? talking about [this](https://github.com/lipanski/mockito/blob/master/src/server.rs#L65-L77). maybe thread-local variables could be an option but they...
@ggriffiniii in this case, you'd need to expose a function that sets your remote URL, correct? is there any other way - maybe with the use of compiler flags? I'm...
if you browse a bit through the [list of Rust projects on Github using Mockito](https://github.com/search?q=%22mockito%3A%3Aserver_url%28%29%22&type=Code) you can see two types of projects: (1) Projects that use dependency injection to expose...
@ggriffiniii sounds good. are you still interested in porting those changes to Mockito? if so, I'd be happy to accept such a PR. I'd also be curious how we could...
@CliffHan what do you mean by the "range" support? can you provide an example or your use case?
I'm not familiar with tarpaulin or how it's built but one thing to note is that Mockito tests are actually [run sequentially](https://github.com/lipanski/mockito/blob/f1c588113ae57cb41ebde939dd33c70f61431e10/src/lib.rs#L948) - not in parallel. this is handled internally...
From what I can see, the explicit `require` is not needed. You can check this for your own setup by calling `_client.driver` on your Redis instance: ```ruby # Gemfile gem...
@dwightwatson wonder if this depends on the rails/redis/hiredis version. I'm using: ``` rails (6.1.3) redis (4.2.5) hiredis (0.6.3) ```
> I tried modifying mockito to always bind to :0 and let the OS choose a free port. However it still picked the same for all tests and run into...