3 ms·
I used to do this before I saw my colleagues tests using Rhino.Mocks. I found myself willing to write far more/better tests as it got easier to generate when us
by smcl 10y ago
I used to do this before I saw my colleagues tests using Rhino.Mocks. I found myself willing to write far more/better tests as it got easier to generate when using the framework than rolling my own.
- kylemuir 10y agoI dunno. I've tried mocking frameworks and found that when the interface they were mocking changed I spent more time trying to fix for the arrange step of the test than adding tests that added huge value. Rolling my own might take fractionally more effort to initially set up but the transparency of what happens and ability to debug through to me is of more value.
- smcl 10y agoAh so I have luckily not had to experience this as my interfaces have been relatively stable
- deleted 10y ago[deleted]