开发者

TestNG Dataprovider size

Is it possible to get the number of elements in a TestNG DataP开发者_StackOverflow中文版rovider array at runtime?


Yes:

http://groups.google.com/group/testng-users/browse_thread/thread/e4ededbe4a084795


There is not a existing interface or method to return run time number of testng. We can add a method by ourselves to calculate the number of run time testng data provider.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜