|
I was not calling you lazy. Sorry if you got that impression. I listed out a second reason people do not sometimes reduce a test case: time. Regardless of the ultimate reason you chose not to reduce it, you do chose that. And that is fine. I am simply pointing out that I also have to budget my time. So I need to triage reports within many factors, one of which is my available time to research them. Obviously a test that I can set up and verify in 2 seconds is going to be score higher for me on the scale of how much of my time it takes rather than a test that takes up more of my time. Nothing nefarious there, that's just simple planning. And I already spent a bunch of time looking at the same (VERY similar anyway) report and test and was unable to reproduce it using just Hibernate without Spring.
If you had looked at the test I referenced before, it does exactly what you just described just without a lot of unnecessary stuff (sorry if you got offended when I use the phrase BS for "unecessary stuff"). It creates a schema and then immediately updates it. No issues at all.
|