开发者社区> 问答> 正文

请问在使用spring boot的时候,有没有可以推荐的单元测试覆盖率工具?

请问在使用spring boot的时候,有没有可以推荐的单元测试覆盖率工具?

本问题来自阿里云开发者社区的【11大垂直技术领域开发者社群】。https://developer.aliyun.com/article/706511 点击链接欢迎加入感兴趣的技术领域群。

展开
收起
初商 2019-08-29 17:34:29 460 0
1 条回答
写回答
取消 提交回答
  • 1、pom文件引入即  org.springframework.boot spring-boot-starter-redis  2、编写CacheService接口使用redisCacheServiceImpl实现接口 官网原文说提供三接口注入自实现其实现类默认本端口号6379redis You can inject an auto-configured RedisConnectionFactory, StringRedisTemplate or vanilla RedisTemplate instance as you would any other Spring Bean.By default the instance will attempt to connect to a Redis server using localhost:6379:
    

    答案来源网络,供参考,希望对您有帮助

    2019-10-09 14:03:18
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
用AI 高效测试移动应用 立即下载
移动互联网测试到质量的转变 立即下载
给ITer的技术实战进阶课-阿里CIO学院独家教材(四) 立即下载