Molten Thoughts

Learning in the open

Testing patterns: Prefer fakes over mocks

November 28, 2022  |  11-minute read

Testing code is hard. In the software engineering circles I frequent (mostly the android community), I hear a good amount of conversation around best practices for testing. But most of these conversations are just bikeshedding about which libraries and tools to use — I rarely hear people focus on the most important questions about tests: are your tests valuable? Are they worth the effort you put into them?

Read More