2 ms·
...at the cost of globals all over the place and significantly fewer code-to-interface (rather than code-to-implementatation) moments. I'd rather test a well-f
by eropple 8y ago
...at the cost of globals all over the place and significantly fewer code-to-interface (rather than code-to-implementatation) moments.
I'd rather test a well-factored JVM or .NET application than I would any Ruby application I've ever seen in my life, to be frank. I've never, not once, had to write a mock (awful) for a test in a JVM or a .NET application, and the quality of my tests reflect that.