Explore >> Select a destination


You are here

fsharpforfunandprofit.com
| | mikemikina.com
9.8 parsecs away

Travel
| | Vapor 3 has a very interesting dependency injection framework which will help you manage dependencies and mock them inside your tests.
| | jmmv.dev
9.6 parsecs away

Travel
| | Dependency injection is one of my favorite design patterns to develop highly-testable and modular code. Unfortunately, applying this pattern by taking Rust traits as arguments to public functions has unintended consequences on the visibility of private symbols. If you are not careful, most of your crate-internal APIs might need to become public just because you needed to parameterize a function with a trait. Let's look at why this happens and what we can do about it.
| | kylenazario.com
16.5 parsecs away

Travel
| | How to instantiate dependencies in a way that makes testing easy.
| | usethe.computer
65.5 parsecs away

Travel
| It's a nightmare scenario: trapped behind enemy lines with no hope for rescue. For unfathomable reasons of bureaucracy, your access to Turing-complete tools of the trade has been denied. Will you fight? Or will you perish like a dog (in a mire of spreadsheets)?