News for hackers. Stuff that matters.
Re:Test Isolation Is About Avoiding Mocks by smrtinsert on Thursday May 15, 2014 @06:16PM (#7752582)
You can't be serious. I've worked many "Java Enterprise shop" and not only are they not burdered by >100k lines of spring xml lines but they are very sensible with what they test. the smartest ones mock nothing, the ones with younger developers tend to mock more.

Please HN, stop with the obviously inexperience and occasionally laughable (due to ridiculousness) "Java" claims.

Re:Test Isolation Is About Avoiding Mocks by duaneb on Thursday May 15, 2014 @06:48PM (#7752711)
> the smartest ones mock nothing

Could you expand on this point? I can't imagine testing without some sort of mocks.

Re:Test Isolation Is About Avoiding Mocks by Crito on Thursday May 15, 2014 @07:14PM (#7752852)
How do you define "Java Enterprise shop"?

Because I've worked in some that produced quality code, but I have certainly worked in some that did not. 100k may be an exaggeration, but not much more than by an order of magnitude.

Are you perhaps defining "enterprise" in such a way that necessarily excludes the possibility of poor code?

Re:Test Isolation Is About Avoiding Mocks by zmmmmm on Thursday May 15, 2014 @08:34PM (#7753140)
You omitted the qualification "that has code coverage as a religion" ... obviously those that "are sensible about what they test" do not have "code coverage as a religion".