{"type":"rich","blog_title":"\u304b\u3093\u304c\u308b\u30fc\u3055\u3093\u306e\u65e5\u8a18","provider_name":"Hatena Blog","url":"https://ksby.hatenablog.com/entry/2019/03/10/232947","categories":[],"blog_url":"https://ksby.hatenablog.com/","height":"190","author_name":"ksby","width":"100%","author_url":"https://blog.hatena.ne.jp/ksby/","version":"1.0","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/ksby/20190310/20190310205211.png","published":"2019-03-10 23:29:47","description":"\u6982\u8981 \u8a18\u4e8b\u4e00\u89a7\u306f\u3053\u3061\u3089\u3067\u3059\u3002 Spring Boot 2.0.x \u306e Web \u30a2\u30d7\u30ea\u3092 2.1.x \u3078\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b ( \u305d\u306e\uff11\uff12 )( @Rule \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u30c6\u30b9\u30c8\u3092 JUnit 5 \u306e\u30c6\u30b9\u30c8\u306b\u66f8\u304d\u76f4\u3059\uff12 ) \u306e\u7d9a\u304d\u3067\u3059\u3002 \u4eca\u56de\u306e\u624b\u9806\u3067\u78ba\u8a8d\u3067\u304d\u308b\u306e\u306f\u4ee5\u4e0b\u306e\u5185\u5bb9\u3067\u3059\u3002 @WebMvcTest \u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u306f Spring Boot 1.4 \u306e\u6642\u306b\u4f5c\u6210\u3055\u308c\u305f\u3082\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u307e\u3067\u4f7f\u7528\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u4f7f\u7528\u3057\u305f\u30c6\u30b9\u30c8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002 \u4e00\u7dd2\u306b @WithAnonymousUser\u3001@WithMockUser \u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3082\u4f7f\u7528\u3057\u307e\u3059\u3002 JUnit 4 \u3084 Spock \u3067\u306f\u306a\u304f JUni\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fksby.hatenablog.com%2Fentry%2F2019%2F03%2F10%2F232947\" title=\"Spring Boot 2.0.x \u306e Web \u30a2\u30d7\u30ea\u3092 2.1.x \u3078\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b ( \u305d\u306e\uff11\uff13 )( @WebMvcTest\u3001@WithAnonymousUser\u3001@WithMockUser \u3092\u4f7f\u3063\u3066\u307f\u308b ) - \u304b\u3093\u304c\u308b\u30fc\u3055\u3093\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Spring Boot 2.0.x \u306e Web \u30a2\u30d7\u30ea\u3092 2.1.x \u3078\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b ( \u305d\u306e\uff11\uff13 )( @WebMvcTest\u3001@WithAnonymousUser\u3001@WithMockUser \u3092\u4f7f\u3063\u3066\u307f\u308b )","provider_url":"https://hatena.blog"}