摘要:
Spring-boot官方案例分析之data-jpa package sample.data.jpa; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.spring 阅读全文
posted @ 2016-10-11 17:03
雨人bob
阅读(1507)
评论(0)
推荐(0)
摘要:
Spring-boot官方案例分析之log4j 运行单元测试分析: @RunWith(SpringJUnit4ClassRunner.class) @SpringApplicationConfiguration(classes = SampleActuatorApplication.class) @ 阅读全文
posted @ 2016-10-11 14:25
雨人bob
阅读(1688)
评论(0)
推荐(0)
摘要:
Spring Boot应用的测试——Mockito Spring Boot可以和大部分流行的测试框架协同工作:通过Spring JUnit创建单元测试;生成测试数据初始化数据库用于测试;Spring Boot可以跟BDD(Behavier Driven Development)工具、Cucumber 阅读全文
posted @ 2016-10-11 13:40
雨人bob
阅读(10223)
评论(1)
推荐(1)