
junit
魔锋剑上缺
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
junit所需jar包
<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> <原创 2018-05-31 17:55:09 · 6203 阅读 · 0 评论 -
junit 参数化测试
在测试类上面加上注解@RunWith(Parameterized.class)@PrepareForTest(BuildIncidentCfgServiceImpl.class)根据测试类的构造函数准备好各种参数@Parameters public static Collection data() { return Arrays.asList(new Object[][...原创 2018-05-31 18:02:06 · 594 阅读 · 0 评论