There is life in Java without Spring. Who would have thought that possible ;)
Ever wondered if @springframework and #testing not always should go together? Check out my new post on @INNOQ blog: innoq.com/en/blog/springless…
2
9
1
17
I can’t remember any Java framework that has had more emphasis on user code being written in a way so that you can purely unit test it.
4
4
2
26
I can only second the statement by @olivergierke here
1
2
While that may well be true, I fail to see how the post suggests something different. Everyone seems to agree using Spring in unit tests is a bad idea. What am I missing?
3
1
It starts with using Spring in a way that's know to be troublesome and that the Spring team discourages, as that style makes testing hard. It creates the impression that kind of design and testing approach is incentivized by the framework which it clearly is not.
4
8
Thank you. Interesting. I note every single Spring person I know reacted the same way. I wonder, though: Does this mean it’s not being used this way? Or that the post should have stated “don’t use it this way” in its intro?
4
2
Maybe I’m just observing from the outside what I typically experience from the inside when pro-GraphQL people criticize REST :)

Apr 27, 2018 · 5:33 PM UTC

1
3
I started from the right place, I see far too often how Spring is being used in unit tests. I wanted to show another way of approaching things. And I know at least one person, that just learned, that there's another way. My mission accomplished. I know that we know.
1
2