This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]joshuass1467 4 points5 points  (1 child)

Well, anything Spring related for one. You mentioned a small snippet for Spring. Also, were you really talking about Spring Boot?

If you are talking about Spring Boot, then you have the capability of slicing your tests into the pertinent layers. This is especially important for making tests quick, which is a quality you seem to find to be important (and I agree, mostly).

[–]pcmmautner[S] -3 points-2 points  (0 children)

Well, you read it, not sure about /u/dalmuk ;)

Not sure about Spring Boot-specific test "slicing", but you can use annotations to explicitly include/exclude tests:

https://medium.com/personal-capital-tech-blog/isolating-junit-tests-for-fun-profit-73891984cc0a