2017年5月23日

junit

摘要: Junit 4 比 3 要方便很多,主要就是版本4中: 1. 对方法命名格式不再有要求; 1. 不再需要继承TestCase; 1. 一切都基于注解实现。 在 spring boot 1.3 中单元测试,类似代码如下: 在 spring boot 1.4 中 SpringApplicationCon 阅读全文

posted @ 2017-05-23 17:26 cag2050 阅读(157) 评论(0) 推荐(0) 编辑

导航