I agree, that having a testable design is important. ☺️
But I can see your point. If the code gets overly complex just for the purpose of testing, it's not a good thing. I really don't want to promote a "testability and abstractions are the cure for everything" thought. Always use the right tool for the right job. That's important.
BUT: I don't think a single interface isn't increasing the complexity of a software system pretty much. But it might increase the testability a lot.
In the end it is a matter of your personal priorities and opinions.
For me, testability is important. I have seen the same bug get in the code over and over again. A good set of tests can prevent that.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I agree, that having a testable design is important. ☺️
But I can see your point. If the code gets overly complex just for the purpose of testing, it's not a good thing. I really don't want to promote a "testability and abstractions are the cure for everything" thought. Always use the right tool for the right job. That's important.
BUT: I don't think a single interface isn't increasing the complexity of a software system pretty much. But it might increase the testability a lot.
In the end it is a matter of your personal priorities and opinions.
For me, testability is important. I have seen the same bug get in the code over and over again. A good set of tests can prevent that.