testng源码阅读之5

testng里边的注释是如何应用的? 举最简单的两个例子:php @Test 这个注解 AnnotationHelper.findMethodsWithAnnotation { 这里作最基本的判断: 一、先把有注解的找出来 二、有注解的方法不能有返回值,只能是void 三、给全部的测试方法编号 }web TestNGMethodFinder.getTestMethods–>数据结构 TestCla
相关文章
相关标签/搜索