test
杭州丹尼
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Junit测试Controller(MockMVC使用),传输@RequestBody数据解决办法
这里有个往后台传json的情况 因为@RequestBody 作为参数,且需要json 请看这篇 http://www.cnblogs.com/0201zcr/p/5756642.html [quote] param:添加request的参数,如上面发送请求的时候带上了了pcode = root的参数。假如使用需要发送json数据格式的时将不能使用这种方式,可见后面被@Respo...原创 2017-07-20 16:37:14 · 4125 阅读 · 0 评论 -
使用MockMvc测试Spring mvc Controller
http://www.cnblogs.com/wade-xu/p/4311657.html 使用MockMvc测试Spring mvc Controller原创 2017-07-21 14:33:56 · 146 阅读 · 0 评论 -
spring call controller junit
[code="java"] package com.sunrun.service; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; impo...原创 2017-09-12 21:26:52 · 141 阅读 · 0 评论 -
springboot的测试类的maven依赖
[quote] junit junit 4.12 org.springframework.boot spring-boot-starter-test test 2.0.2.RELEASE ...原创 2018-07-13 15:08:10 · 4427 阅读 · 0 评论 -
springboot测试的maven dependency
[code="java"] com.googlecode.libphonenumber geocoder 2.15 com.googlecode.libphonenumber libphonenumber 6.3 com.googlecode.libphonenumbe...原创 2018-07-18 19:46:01 · 510 阅读 · 0 评论 -
spring boot web 测试
[quote] https://www.jianshu.com/p/8308fd12d0cb [/quote]原创 2018-08-03 11:44:59 · 247 阅读 · 0 评论
分享