A few days ago, I set out to learn how to mock a dependency in a module I’m testing. Check out this lovely contrived three-file example:
# dependency.pydef thing_to_mock(): return 'mock me pls'
Every development team has its own ecosystem of tools and and practices, which itself is always evolving. This is your guide the high-level pieces of our ecosystem and resources you can explore to learn more about them.