4 ms·
> "However, relying on dynamically-generated mocks can be dangerous, as it typically leads to implementation-aware testing." I agree, tests should be simple! D
by gitgud 6y ago
> "However, relying on dynamically-generated mocks can be dangerous, as it typically leads to implementation-aware testing."
I agree, tests should be simple! Dynamically generating stubs, mocks or even arguments for tests hides complexity which leads to test code that's hard to reason about... and is hard to change/fix